فهرست منبع

[Kernel] Fix typo

Bernard Xiong 8 سال پیش
والد
کامیت
1f0081e796
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/thread.c

+ 1 - 1
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 */