aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32F103-FATFS-GCC/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ARMCM3-STM32F103-FATFS-GCC/main.c')
-rw-r--r--demos/ARMCM3-STM32F103-FATFS-GCC/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/ARMCM3-STM32F103-FATFS-GCC/main.c b/demos/ARMCM3-STM32F103-FATFS-GCC/main.c
index cfe5fde8b..0802ec7bc 100644
--- a/demos/ARMCM3-STM32F103-FATFS-GCC/main.c
+++ b/demos/ARMCM3-STM32F103-FATFS-GCC/main.c
@@ -113,11 +113,11 @@ static void cmd_mem(BaseChannel *chp, int argc, char *argv[]) {
return;
}
n = chHeapStatus(NULL, &size);
- siprintf(buf, "core free memory : %lu bytes", chCoreStatus());
+ siprintf(buf, "core free memory : %u bytes", chCoreStatus());
shellPrintLine(chp, buf);
- siprintf(buf, "heap fragments : %lu", n);
+ siprintf(buf, "heap fragments : %u", n);
shellPrintLine(chp, buf);
- siprintf(buf, "heap free total : %lu bytes", size);
+ siprintf(buf, "heap free total : %u bytes", size);
shellPrintLine(chp, buf);
}