wugensheng 4 лет назад
Родитель
Сommit
8a36625aff
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      drivers/nano/drv_common.c

+ 1 - 1
drivers/nano/drv_common.c

@@ -17,7 +17,7 @@ static void reboot(uint8_t argc, char **argv)
 {
 {
     rt_hw_cpu_reset();
     rt_hw_cpu_reset();
 }
 }
-FINSH_FUNCTION_EXPORT_ALIAS(reboot, __cmd_reboot, Reboot System);
+MSH_CMD_EXPORT_ALIAS(reboot, __cmd_reboot, Reboot System);
 #endif /* RT_USING_FINSH */
 #endif /* RT_USING_FINSH */
 
 
 /* SysTick configuration */
 /* SysTick configuration */