mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-15 13:49:22 +08:00
Grissiom
c05b205390
finsh: use alias in the variable definition
With this patch, one could define two alias for the same function like: FINSH_FUNCTION_EXPORT_ALIAS(rt_hw_cpu_reset, reboot, reboot the cpu); FINSH_FUNCTION_EXPORT_ALIAS(rt_hw_cpu_reset, __cmd_reboot, reboot the cpu); Suitable for being used in MSH/Finsh.
Description
Languages
C
97.6%
Assembly
1.9%
Python
0.3%
HTML
0.1%