From c0a4da7c5b2b6bd6172d098734fead858d6ce58d Mon Sep 17 00:00:00 2001 From: jch12138 Date: Thu, 28 May 2020 20:57:43 +0800 Subject: 添加static前缀,防止与用户自定函数冲突 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/finsh/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components') 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"); -- cgit v1.3.1