diff options
| author | armink <[email protected]> | 2018-01-12 17:19:57 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2018-01-12 17:22:14 +0800 |
| commit | cfd82c260dc51a4aacdaec487e025a522c1a19fa (patch) | |
| tree | 8474d0e7b028ee34892692ba838924696eeb092c /components/finsh/shell.h | |
| parent | f54c8bab3c3550f168422586a00a57f35a51d082 (diff) | |
[Finsh] Add finsh thread name macro.
Diffstat (limited to 'components/finsh/shell.h')
| -rw-r--r-- | components/finsh/shell.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/finsh/shell.h b/components/finsh/shell.h index 51494cb07b..7d5dd47076 100644 --- a/components/finsh/shell.h +++ b/components/finsh/shell.h @@ -73,6 +73,10 @@ const char* finsh_get_prompt(void); #endif #endif /* FINSH_USING_AUTH */ +#ifndef FINSH_THREAD_NAME +#define FINSH_THREAD_NAME "tshell" +#endif + enum input_stat { WAIT_NORMAL, |
