aboutsummaryrefslogtreecommitdiffstats
path: root/demos/SPC5/RT-SPC560P-EVB/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/SPC5/RT-SPC560P-EVB/main.c')
-rw-r--r--demos/SPC5/RT-SPC560P-EVB/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/SPC5/RT-SPC560P-EVB/main.c b/demos/SPC5/RT-SPC560P-EVB/main.c
index b17e1e523..e2f30e15a 100644
--- a/demos/SPC5/RT-SPC560P-EVB/main.c
+++ b/demos/SPC5/RT-SPC560P-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);
}