diff options
Diffstat (limited to 'testhal/STM32/STM32F30x/USB_CDC')
-rw-r--r-- | testhal/STM32/STM32F30x/USB_CDC/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F30x/USB_CDC/main.c b/testhal/STM32/STM32F30x/USB_CDC/main.c index 67cd65d4a..dc29d6855 100644 --- a/testhal/STM32/STM32F30x/USB_CDC/main.c +++ b/testhal/STM32/STM32F30x/USB_CDC/main.c @@ -351,7 +351,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);
}
|