1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 14:03:55 +01:00

pkg/nimble: create ctrl thread with FLAG_STACKTEST

This commit is contained in:
Hauke Petersen 2018-10-17 17:48:17 +02:00
parent 86b4a41466
commit 7351cba054

View File

@ -39,7 +39,8 @@ void nimble_riot_controller_init(void)
* Create task where NimBLE LL will run. This one is required as LL has its
* own event queue and should have highest priority.
*/
thread_create(stack, sizeof(stack), NIMBLE_CONTROLLER_PRIO, 0,
(thread_task_func_t)nimble_port_ll_task_func,
NULL, "nimble_ctrl");
thread_create(stack, sizeof(stack), NIMBLE_CONTROLLER_PRIO,
THREAD_CREATE_STACKTEST,
(thread_task_func_t)nimble_port_ll_task_func, NULL,
"nimble_ctrl");
}