From 7351cba054471abdd3606eb74a15a52e23b0d70c Mon Sep 17 00:00:00 2001 From: Hauke Petersen <hauke.petersen@fu-berlin.de> Date: Wed, 17 Oct 2018 17:48:17 +0200 Subject: [PATCH] pkg/nimble: create ctrl thread with FLAG_STACKTEST --- pkg/nimble/contrib/controller_init.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/nimble/contrib/controller_init.c b/pkg/nimble/contrib/controller_init.c index 013561b11b..a35a45c313 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"); } -- GitLab