aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F103_INEMO_DISCOVERY
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32F103_INEMO_DISCOVERY')
-rw-r--r--demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c
index 9c1c64f74..1a1b58265 100644
--- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/main.c
@@ -45,7 +45,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);
}