Explorar o código

Increase BtI2STask stack depth to avoid stack overflow

Jin Cheng %!s(int64=3) %!d(string=hai) anos
pai
achega
e38ee1d9bc

+ 1 - 1
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)