summaryrefslogtreecommitdiff
path: root/lib/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/event.c')
-rw-r--r--lib/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/event.c b/lib/event.c
index 982e1593a1..5aea78186c 100644
--- a/lib/event.c
+++ b/lib/event.c
@@ -810,7 +810,7 @@ static struct event *thread_get(struct thread_master *m, uint8_t type,
thread->add_type = type;
thread->master = m;
thread->arg = arg;
- thread->yield = THREAD_YIELD_TIME_SLOT; /* default */
+ thread->yield = EVENT_YIELD_TIME_SLOT; /* default */
thread->ref = NULL;
thread->ignore_timer_late = false;