summaryrefslogtreecommitdiff
path: root/src/libs/mynewt-nimble
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2022-03-14 21:54:13 +0100
committerJF <JF002@users.noreply.github.com>2022-03-21 20:53:46 +0100
commitcd1f218dd8710f61238307a9fa5b0d11e229bffa (patch)
tree2e7bd3c65b65529e1f18b029c164266f0f1877c5 /src/libs/mynewt-nimble
parentf1194a5f74fa7e02805940a39489210783b94878 (diff)
Fix priorities of BLE tasks
Diffstat (limited to 'src/libs/mynewt-nimble')
-rw-r--r--src/libs/mynewt-nimble/porting/npl/freertos/src/nimble_port_freertos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/mynewt-nimble/porting/npl/freertos/src/nimble_port_freertos.c b/src/libs/mynewt-nimble/porting/npl/freertos/src/nimble_port_freertos.c
index b9902781..205831a9 100644
--- a/src/libs/mynewt-nimble/porting/npl/freertos/src/nimble_port_freertos.c
+++ b/src/libs/mynewt-nimble/porting/npl/freertos/src/nimble_port_freertos.c
@@ -38,7 +38,7 @@ nimble_port_freertos_init(TaskFunction_t host_task_fn)
* since it has compatible prototype.
*/
xTaskCreate(nimble_port_ll_task_func, "ll", configMINIMAL_STACK_SIZE + 200,
- NULL, configMAX_PRIORITIES - 1, &ll_task_h);
+ NULL, 3, &ll_task_h);
#endif
/*
@@ -47,5 +47,5 @@ nimble_port_freertos_init(TaskFunction_t host_task_fn)
* default queue it is just easier to make separate task which does this.
*/
xTaskCreate(host_task_fn, "ble", configMINIMAL_STACK_SIZE + 600,
- NULL, tskIDLE_PRIORITY + 1, &host_task_h);
+ NULL, 2, &host_task_h);
}