diff --git a/bsp/stm32l072/board/board.c b/bsp/stm32l072/board/board.c index 04e360dd0..37f96c586 100644 --- a/bsp/stm32l072/board/board.c +++ b/bsp/stm32l072/board/board.c @@ -15,6 +15,9 @@ #include #include +#ifdef RT_USING_FINSH +#include +#endif #include "board.h" #include "usart.h" @@ -156,6 +159,6 @@ long cmd_reset(int argc, char** argv) HAL_NVIC_SystemReset(); return 0; } -FINSH_FUNCTION_EXPORT_ALIAS(cmd_reset, __cmd_reset, Reset Board.); +FINSH_FUNCTION_EXPORT_ALIAS(cmd_reset, __cmd_reset, Reset Board); /*@}*/