Skip to content

Commit 6cc3072

Browse files
authored
Increase BT SPP task priority (#8859)
1 parent de7cac1 commit 6cc3072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/BluetoothSerial/src/BluetoothSerial.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ static bool _init_bt(const char *deviceName)
671671
}
672672

673673
if(!_spp_task_handle){
674-
xTaskCreatePinnedToCore(_spp_tx_task, "spp_tx", 4096, NULL, 10, &_spp_task_handle, 0);
674+
xTaskCreatePinnedToCore(_spp_tx_task, "spp_tx", 4096, NULL, configMAX_PRIORITIES-1, &_spp_task_handle, 0);
675675
if(!_spp_task_handle){
676676
log_e("Network Event Task Start Failed!");
677677
return false;

0 commit comments

Comments
 (0)