diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-07-11 10:24:18 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-07-11 10:24:18 +0000 |
commit | 0a189322ef87493d9381d8baf82ebae8e1009819 (patch) | |
tree | 48987c2f479007f0a79f3b8baf657f2e23107f78 /demos | |
parent | eb9865920d6cac47b4779cc0887ed31a270062e6 (diff) | |
download | ChibiOS-0a189322ef87493d9381d8baf82ebae8e1009819.tar.gz ChibiOS-0a189322ef87493d9381d8baf82ebae8e1009819.tar.bz2 ChibiOS-0a189322ef87493d9381d8baf82ebae8e1009819.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2067 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARMCM3-STM32F103-FATFS-GCC/main.c | 6 |
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);
}
|