From f5c71da2a062bc2669cfac260db232f8fb0d95cb Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Thu, 9 Nov 2023 11:09:15 -0300 Subject: [PATCH] Increase BT SPP task priority --- libraries/BluetoothSerial/src/BluetoothSerial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/BluetoothSerial/src/BluetoothSerial.cpp b/libraries/BluetoothSerial/src/BluetoothSerial.cpp index dfdbfbecd86..e80d7194e2d 100644 --- a/libraries/BluetoothSerial/src/BluetoothSerial.cpp +++ b/libraries/BluetoothSerial/src/BluetoothSerial.cpp @@ -671,7 +671,7 @@ static bool _init_bt(const char *deviceName) } if(!_spp_task_handle){ - xTaskCreatePinnedToCore(_spp_tx_task, "spp_tx", 4096, NULL, 10, &_spp_task_handle, 0); + xTaskCreatePinnedToCore(_spp_tx_task, "spp_tx", 4096, NULL, configMAX_PRIORITIES-1, &_spp_task_handle, 0); if(!_spp_task_handle){ log_e("Network Event Task Start Failed!"); return false;