Increase BT SPP task priority (#8859)

This commit is contained in:
Rodrigo Garcia 2023-11-09 18:15:50 -03:00 committed by GitHub
parent de7cac11ae
commit 6cc307255b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;