Skip to content

Commit cd1f218

Browse files
committed
Fix priorities of BLE tasks
1 parent f1194a5 commit cd1f218

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libs/mynewt-nimble/porting/npl/freertos/src/nimble_port_freertos.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ nimble_port_freertos_init(TaskFunction_t host_task_fn)
3838
* since it has compatible prototype.
3939
*/
4040
xTaskCreate(nimble_port_ll_task_func, "ll", configMINIMAL_STACK_SIZE + 200,
41-
NULL, configMAX_PRIORITIES - 1, &ll_task_h);
41+
NULL, 3, &ll_task_h);
4242
#endif
4343

4444
/*
@@ -47,5 +47,5 @@ nimble_port_freertos_init(TaskFunction_t host_task_fn)
4747
* default queue it is just easier to make separate task which does this.
4848
*/
4949
xTaskCreate(host_task_fn, "ble", configMINIMAL_STACK_SIZE + 600,
50-
NULL, tskIDLE_PRIORITY + 1, &host_task_h);
50+
NULL, 2, &host_task_h);
5151
}

0 commit comments

Comments
 (0)