Merge pull request #12754 from gschorcht/cpu/esp32/fix_heap_cmd
cpu/esp32: fix heap command output
This commit is contained in:
commit
e9bde9eca4
@ -271,7 +271,7 @@ unsigned int IRAM get_free_heap_size (void)
|
||||
|
||||
void heap_stats(void)
|
||||
{
|
||||
printf("heap: %u (used %u free %u)\n", (unsigned)(&_eheap - &_sheap),
|
||||
printf("heap: %u (used %u, free %u) [bytes]\n", (unsigned)(&_eheap - &_sheap),
|
||||
&_eheap - &_sheap - get_free_heap_size(), get_free_heap_size());
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user