diff --git a/pkg/nimble/contrib/controller_init.c b/pkg/nimble/contrib/controller_init.c index 013561b11b3f42fe71659735a05a649259864be9..a35a45c313e76ab94eec27aafb2ebb4377f8101f 100644 --- a/pkg/nimble/contrib/controller_init.c +++ b/pkg/nimble/contrib/controller_init.c @@ -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"); }