summaryrefslogtreecommitdiff
path: root/bsp/hk32
diff options
context:
space:
mode:
authorguo <[email protected]>2021-09-05 19:49:43 +0800
committerGitHub <[email protected]>2021-09-05 19:49:43 +0800
commit877bb072cf3c5ce1bc45e29cd79fd9f5144f22be (patch)
treee5a6488770dc6540927e47df5b8a808bd1f7e521 /bsp/hk32
parent8e7ed7e1bb9c263390dc13b8e07686b9070c9d53 (diff)
parente18d44940f966b1c132bf242786c62e2b6e57b7a (diff)
Merge pull request #5014 from mysterywolf/finsh
[finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题
Diffstat (limited to 'bsp/hk32')
-rw-r--r--bsp/hk32/hk32f030c8-mini/board/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/hk32/hk32f030c8-mini/board/board.c b/bsp/hk32/hk32f030c8-mini/board/board.c
index e659a2f718..8d3aeaf117 100644
--- a/bsp/hk32/hk32f030c8-mini/board/board.c
+++ b/bsp/hk32/hk32f030c8-mini/board/board.c
@@ -21,7 +21,7 @@ static void reboot(uint8_t argc, char **argv)
{
rt_hw_cpu_reset();
}
-FINSH_FUNCTION_EXPORT_ALIAS(reboot, __cmd_reboot, Reboot System);
+MSH_CMD_EXPORT(reboot, reboot system);
#endif /* RT_USING_FINSH */
/** System Clock Configuration