fix: restore non-display psram usage and clean stale qrcode log

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

View File

@@ -195,6 +195,8 @@ 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;