From 1502f8f312c48d4f1793c45faefc5360d9af2e00 Mon Sep 17 00:00:00 2001
From: dequis <dx@dxzone.com.ar>
Date: Mon, 1 May 2023 00:14:50 +0200
Subject: [PATCH] fix wifi by reducing the stack size of the audio task

---
 badge23/audio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/badge23/audio.c b/badge23/audio.c
index 44c81444dc..86f6dbdc8c 100644
--- a/badge23/audio.c
+++ b/badge23/audio.c
@@ -132,7 +132,7 @@ static void _audio_init(void) {
     i2s_init();
     //ESP_ERROR_CHECK(i2s_channel_enable(tx_chan));
     TaskHandle_t handle;
-    xTaskCreate(&audio_player_task, "Audio player", 20000, NULL, configMAX_PRIORITIES - 1, &handle);
+    xTaskCreate(&audio_player_task, "Audio player", 3000, NULL, configMAX_PRIORITIES - 1, &handle);
 }
 
 #define LR_PHASE 1
-- 
GitLab