diff --git a/src/thread.c b/src/thread.c index 51e65e6e6280286b8e0c2b5202999c5c1f629800..e67fbe048563c7d31175619ec671bb079d7a5d73 100644 --- a/src/thread.c +++ b/src/thread.c @@ -162,7 +162,7 @@ static rt_err_t _rt_thread_init(struct rt_thread *thread, thread->number_mask = 0; #if RT_THREAD_PRIORITY_MAX > 32 thread->number = 0; - therad->high_mask = 0; + thread->high_mask = 0; #endif /* tick init */