This commit is contained in:
Terrence
2024-09-25 03:44:28 +08:00
parent 53b08843d4
commit 0396b4a91c
5 changed files with 75 additions and 51 deletions

View File

@ -54,6 +54,6 @@ extern "C" void app_main(void)
vTaskDelay(10000 / portTICK_PERIOD_MS);
// SystemInfo::PrintRealTimeStats(STATS_TICKS);
int free_sram = heap_caps_get_minimum_free_size(MALLOC_CAP_INTERNAL);
ESP_LOGI(TAG, "Free heap size: %u minimal internal: %u", SystemInfo::GetFreeHeapSize(), free_sram);
ESP_LOGD(TAG, "Free heap size: %u minimal internal: %u", SystemInfo::GetFreeHeapSize(), free_sram);
}
}