diff options
Diffstat (limited to 'demos/SPC5/RT-SPC560B-EVB/main.c')
-rw-r--r-- | demos/SPC5/RT-SPC560B-EVB/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/SPC5/RT-SPC560B-EVB/main.c b/demos/SPC5/RT-SPC560B-EVB/main.c index 4516c6224..1eb44bc4b 100644 --- a/demos/SPC5/RT-SPC560B-EVB/main.c +++ b/demos/SPC5/RT-SPC560B-EVB/main.c @@ -32,7 +32,7 @@ static void cmd_mem(BaseSequentialStream *chp, int argc, char *argv[]) { return;
}
n = chHeapStatus(NULL, &size);
- chprintf(chp, "core free memory : %u bytes\r\n", chCoreStatus());
+ chprintf(chp, "core free memory : %u bytes\r\n", chCoreGetStatusX());
chprintf(chp, "heap fragments : %u\r\n", n);
chprintf(chp, "heap free total : %u bytes\r\n", size);
}
|