From 9ad1c7df9636f2809516b002ee9092dbba1c3bbc 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 c90c5b773a7d..3096f138c9f9 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 @@ -210,7 +210,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)