send wake word audio to the server

This commit is contained in:
Terrence
2024-09-03 13:57:18 +08:00
parent 16334ca75f
commit a26541911e
4 changed files with 109 additions and 6 deletions

View File

@@ -58,8 +58,8 @@ extern "C" void app_main(void)
// Dump CPU usage every 1 second
while (true) {
vTaskDelay(2000 / portTICK_PERIOD_MS);
SystemInfo::PrintRealTimeStats(STATS_TICKS);
vTaskDelay(5000 / 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);
}