[Finsh] cleanup the code style
This commit is contained in:
parent
b924104129
commit
8a56e181bd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue