Skip to content

Commit 5d82e6a

Browse files
Update drv_common.c
1 parent 9f71b99 commit 5d82e6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/nano/drv_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ static void reboot(uint8_t argc, char **argv)
1717
{
1818
rt_hw_cpu_reset();
1919
}
20-
FINSH_FUNCTION_EXPORT_ALIAS(reboot, __cmd_reboot, Reboot System);
20+
MSH_CMD_EXPORT_ALIAS(reboot, __cmd_reboot, Reboot System);
2121
#endif /* RT_USING_FINSH */
2222

2323
/* SysTick configuration */

0 commit comments

Comments
 (0)