refactor: replace psram allocations with standard heap

Signed-off-by: Bo <boironic@gmail.com>
This commit is contained in:
Bo
2026-02-19 15:05:00 +08:00
parent ce198ccbe8
commit 0c256d7653
5 changed files with 9 additions and 17 deletions

View File

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