提交 8a56e181 编写于 作者: B bernard

[Finsh] cleanup the code style

上级 b9241041
......@@ -35,7 +35,6 @@
* initialization when use GNU GCC compiler.
*/
#include <rtthread.h>
#include <rthw.h>
#include "finsh.h"
......@@ -653,8 +652,6 @@ int finsh_system_init(void)
shell = &_shell;
#endif
rt_kprintf("shell tcb size: %d\n", sizeof(struct finsh_shell));
memset(shell, 0, sizeof(struct finsh_shell));
rt_sem_init(&(shell->rx_sem), "shrx", 0, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册