summaryrefslogtreecommitdiff
path: root/components/finsh/shell.c
diff options
context:
space:
mode:
authorarmink <[email protected]>2018-01-12 17:19:57 +0800
committerarmink <[email protected]>2018-01-12 17:22:14 +0800
commitcfd82c260dc51a4aacdaec487e025a522c1a19fa (patch)
tree8474d0e7b028ee34892692ba838924696eeb092c /components/finsh/shell.c
parentf54c8bab3c3550f168422586a00a57f35a51d082 (diff)
[Finsh] Add finsh thread name macro.
Diffstat (limited to 'components/finsh/shell.c')
-rw-r--r--components/finsh/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/shell.c b/components/finsh/shell.c
index 90792e0039..d1fadd7221 100644
--- a/components/finsh/shell.c
+++ b/components/finsh/shell.c
@@ -776,7 +776,7 @@ int finsh_system_init(void)
rt_sem_init(&(shell->rx_sem), "shrx", 0, 0);
result = rt_thread_init(&finsh_thread,
- "tshell",
+ FINSH_THREAD_NAME,
finsh_thread_entry, RT_NULL,
&finsh_thread_stack[0], sizeof(finsh_thread_stack),
FINSH_THREAD_PRIORITY, 10);