@@ -15,6 +15,9 @@
#include <rthw.h>
#include <rtthread.h>
+#ifdef RT_USING_FINSH
+#include <finsh.h>
+#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);
/*@}*/