diff options
| author | jch12138 <[email protected]> | 2020-05-28 20:57:43 +0800 |
|---|---|---|
| committer | jch12138 <[email protected]> | 2020-05-28 20:57:43 +0800 |
| commit | c0a4da7c5b2b6bd6172d098734fead858d6ce58d (patch) | |
| tree | 74f0d034ca2821bfc947d4363b1bcfdfadf5f198 | |
| parent | ebfba4974cbdc95c3bc611cfc43930c762799240 (diff) | |
添加static前缀,防止与用户自定函数冲突
| -rw-r--r-- | components/finsh/cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c index 9743bfd18b..d764ea4231 100644 --- a/components/finsh/cmd.c +++ b/components/finsh/cmd.c @@ -49,7 +49,7 @@ long hello(void) } FINSH_FUNCTION_EXPORT(hello, say hello world); -long clear(void) +static long clear(void) { rt_kprintf("\x1b[2J\x1b[H"); |
