git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2067 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
eb9865920d
commit
0a189322ef
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue