forked from xiaozhi/xiaozhi-esp32
Bump to 1.3.0
This commit is contained in:
10
main/main.cc
10
main/main.cc
@@ -26,13 +26,5 @@ extern "C" void app_main(void)
|
||||
|
||||
// Launch the application
|
||||
Application::GetInstance().Start();
|
||||
|
||||
// Dump CPU usage every 10 second
|
||||
while (true) {
|
||||
vTaskDelay(10000 / portTICK_PERIOD_MS);
|
||||
// SystemInfo::PrintRealTimeStats(pdMS_TO_TICKS(1000));
|
||||
int free_sram = heap_caps_get_free_size(MALLOC_CAP_INTERNAL);
|
||||
int min_free_sram = heap_caps_get_minimum_free_size(MALLOC_CAP_INTERNAL);
|
||||
ESP_LOGI(TAG, "Free internal: %u minimal internal: %u", free_sram, min_free_sram);
|
||||
}
|
||||
// The main thread will exit and release the stack memory
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user