• G
    finsh: use alias in the variable definition · c05b2053
    Grissiom 提交于
    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.
    c05b2053
finsh.h 16.6 KB