添加static前缀,防止与用户自定函数冲突

This commit is contained in:
jch12138 2020-05-28 20:57:43 +08:00
parent ebfba4974c
commit c0a4da7c5b
1 changed files with 1 additions and 1 deletions

View File

@ -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");