diff options
author | James A. Jerkins <evergreen@jamesjerkinscomputer.com> | 2021-12-08 00:10:54 -0600 |
---|---|---|
committer | JF <JF002@users.noreply.github.com> | 2021-12-09 21:14:16 +0100 |
commit | 048ecd41e414a9abc8c3d09423b8f5cb99304309 (patch) | |
tree | 2adc3fde5d6f90a27276854a39e3602ae9d369e4 /src/libs/mynewt-nimble/porting/npl | |
parent | 150fa3b6615e524a072a1af6d6728519381fa737 (diff) |
Adjust BLE/LL stacks, style, comments, refactoring
Increase BLE task stack +200 and decrease LL task stack -200
more braces!
Diffstat (limited to 'src/libs/mynewt-nimble/porting/npl')
-rw-r--r-- | src/libs/mynewt-nimble/porting/npl/freertos/src/nimble_port_freertos.c | 4 |
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 8ee3475a..b9902781 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 @@ -37,7 +37,7 @@ nimble_port_freertos_init(TaskFunction_t host_task_fn) * provided by NimBLE and in case of FreeRTOS it does not need to be wrapped * since it has compatible prototype. */ - xTaskCreate(nimble_port_ll_task_func, "ll", configMINIMAL_STACK_SIZE + 400, + xTaskCreate(nimble_port_ll_task_func, "ll", configMINIMAL_STACK_SIZE + 200, NULL, configMAX_PRIORITIES - 1, &ll_task_h); #endif @@ -46,6 +46,6 @@ nimble_port_freertos_init(TaskFunction_t host_task_fn) * have separate task for NimBLE host, but since something needs to handle * default queue it is just easier to make separate task which does this. */ - xTaskCreate(host_task_fn, "ble", configMINIMAL_STACK_SIZE + 400, + xTaskCreate(host_task_fn, "ble", configMINIMAL_STACK_SIZE + 600, NULL, tskIDLE_PRIORITY + 1, &host_task_h); } |