[BSP] fix compiling issue

This commit is contained in:
Bernard Xiong 2017-11-01 13:01:51 +08:00
parent 1761b1f4ab
commit 1692b39467
1 changed files with 4 additions and 1 deletions

View File

@ -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);
/*@}*/