forked from xiaozhi/xiaozhi-esp32
add OTA support
This commit is contained in:
@@ -56,9 +56,9 @@ extern "C" void app_main(void)
|
||||
auto app = new Application();
|
||||
app->Start();
|
||||
|
||||
// Dump CPU usage every 1 second
|
||||
// Dump CPU usage every 10 second
|
||||
while (true) {
|
||||
vTaskDelay(5000 / portTICK_PERIOD_MS);
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user