From e38ee1d9bc6837cc97f17cb9d21b97ded7b05396 Mon Sep 17 00:00:00 2001 From: Jin Cheng Date: Thu, 24 Nov 2022 10:33:16 +0800 Subject: [PATCH] Increase BtI2STask stack depth to avoid stack overflow --- .../bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_core.c b/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_core.c index 994ffe4214..29ce385feb 100644 --- a/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_core.c +++ b/examples/bluetooth/bluedroid/classic_bt/a2dp_sink/main/bt_app_core.c @@ -211,7 +211,7 @@ void bt_i2s_task_start_up(void) ESP_LOGE(BT_APP_CORE_TAG, "%s, ringbuffer create failed", __func__); return; } - xTaskCreate(bt_i2s_task_handler, "BtI2STask", 1024, NULL, configMAX_PRIORITIES - 3, &s_bt_i2s_task_handle); + xTaskCreate(bt_i2s_task_handler, "BtI2STask", 2048, NULL, configMAX_PRIORITIES - 3, &s_bt_i2s_task_handle); } void bt_i2s_task_shut_down(void)