git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2067 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2010-07-11 10:24:18 +00:00
parent eb9865920d
commit 0a189322ef
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}