refactor: replace psram allocations with standard heap
Signed-off-by: Bo <boironic@gmail.com>
This commit is contained in:
@@ -195,8 +195,6 @@ static int cmd_heap_info(int argc, char **argv)
|
||||
{
|
||||
printf("Internal free: %d bytes\n",
|
||||
(int)heap_caps_get_free_size(MALLOC_CAP_INTERNAL));
|
||||
printf("PSRAM free: %d bytes\n",
|
||||
(int)heap_caps_get_free_size(MALLOC_CAP_SPIRAM));
|
||||
printf("Total free: %d bytes\n",
|
||||
(int)esp_get_free_heap_size());
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user