diff options
Diffstat (limited to 'os/kernel')
-rw-r--r-- | os/kernel/src/chthreads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/kernel/src/chthreads.c b/os/kernel/src/chthreads.c index 06451c18f..9d0bd84ae 100644 --- a/os/kernel/src/chthreads.c +++ b/os/kernel/src/chthreads.c @@ -97,7 +97,7 @@ Thread *init_thread(Thread *tp, tprio_t prio) { #if CH_USE_REGISTRY
REG_INSERT(tp);
#endif
-#if defined(THREAD_EXT_EXIT_HOOK)
+#if defined(THREAD_EXT_INIT_HOOK)
THREAD_EXT_INIT_HOOK(tp);
#endif
return tp;
|