summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c
index 51e65e6e62..e67fbe0485 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 */