mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 03:09:16 +08:00
Merge pull request #5014 from mysterywolf/finsh
[finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题
This commit is contained in:
@@ -966,6 +966,5 @@ int cmd_canstat(int argc, void **argv)
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
FINSH_FUNCTION_EXPORT_ALIAS(cmd_canstat, __cmd_canstat, Stat Can Device Status.);
|
||||
MSH_CMD_EXPORT_ALIAS(cmd_canstat, canstat, stat can device status);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -777,7 +777,7 @@ void rt_alarm_dump(void)
|
||||
rt_kprintf("+----+---------------------+------+------+----+\n");
|
||||
}
|
||||
|
||||
FINSH_FUNCTION_EXPORT_ALIAS(rt_alarm_dump, __cmd_alarm_dump, dump alarm info);
|
||||
MSH_CMD_EXPORT_ALIAS(rt_alarm_dump, rt_alarm_dump, dump alarm info);
|
||||
|
||||
/** \brief initialize alarm service system
|
||||
*
|
||||
|
||||
@@ -587,7 +587,7 @@ static int wifi_msh(int argc, char *argv[])
|
||||
}
|
||||
|
||||
#if defined(RT_USING_FINSH)
|
||||
FINSH_FUNCTION_EXPORT_ALIAS(wifi_msh, __cmd_wifi, wifi command.);
|
||||
MSH_CMD_EXPORT_ALIAS(wifi_msh, wifi, wifi command);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user