aboutsummaryrefslogtreecommitdiffstats
path: root/demos/PPC-SPC563-GCC/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/PPC-SPC563-GCC/main.c')
-rw-r--r--demos/PPC-SPC563-GCC/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/PPC-SPC563-GCC/main.c b/demos/PPC-SPC563-GCC/main.c
index f2101c130..6e65e2263 100644
--- a/demos/PPC-SPC563-GCC/main.c
+++ b/demos/PPC-SPC563-GCC/main.c
@@ -37,7 +37,7 @@ static void cmd_mem(BaseChannel *chp, int argc, char *argv[]) {
return;
}
n = chHeapStatus(NULL, &size);
- siprintf(buf, "core free memory : %i bytes", chCoreFree());
+ siprintf(buf, "core free memory : %i bytes", chCoreStatus());
shellPrintLine(chp, buf);
siprintf(buf, "heap fragments : %i", n);
shellPrintLine(chp, buf);