[finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题

This commit is contained in:
Meco Man
2021-09-05 01:50:58 -04:00
parent 31061873ae
commit e18d44940f
30 changed files with 41 additions and 63 deletions

View File

@@ -97,7 +97,7 @@ static void standby(uint8_t argc, char **argv)
sys_start_standby(atoi(argv[1]));
}
}
FINSH_FUNCTION_EXPORT_ALIAS(standby, __cmd_standby, sleep System);
MSH_CMD_EXPORT(standby, sleep system);
#endif /* RT_USING_FINSH */
#endif /* BSP_USING_STANDBY */