summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-06-26 09:16:19 +0800
committerGitHub <[email protected]>2017-06-26 09:16:19 +0800
commit1f0081e796a9b697ea5f280ea43bc416d53c7d54 (patch)
tree286bd15c661a4cd69a271c0881a98b83503ed56a /src
parent6e902e17ae5d52f09654bd56114d0a62f78ace02 (diff)
[Kernel] Fix typo
Diffstat (limited to 'src')
-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 */