From ae5e10bc26fe2dce42359c58f979985e1151b9ba Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Fri, 24 Sep 2021 16:20:35 +0200 Subject: [PATCH] sys/event/thread: add STACKSTEST flag --- sys/event/thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/event/thread.c b/sys/event/thread.c index 2c192620b2..cd6abbf4d9 100644 --- a/sys/event/thread.c +++ b/sys/event/thread.c @@ -57,8 +57,8 @@ void event_thread_init_multi(event_queue_t *queues, size_t queues_numof, void *tagged_ptr = ptrtag(queues, queues_numof - 1); - thread_create(stack, stack_size, priority, 0, _handler_thread, tagged_ptr, - "event"); + thread_create(stack, stack_size, priority, THREAD_CREATE_STACKTEST, + _handler_thread, tagged_ptr, "event"); } #ifndef EVENT_THREAD_STACKSIZE_DEFAULT