diff options
| author | 马志远 <[email protected]> | 2021-08-23 18:37:58 +0800 |
|---|---|---|
| committer | 马志远 <[email protected]> | 2021-08-23 18:37:58 +0800 |
| commit | 8a1e6c01ac11a6af31d6b124fdd52c576120dd82 (patch) | |
| tree | 745e43b4ccb960aa89d09598d107cb3ffd8700e5 /bsp/nuvoton | |
| parent | 221da7f464d811955acce96280332d95348fb24f (diff) | |
Disable FINSH_FUNCTION_EXPORT
Diffstat (limited to 'bsp/nuvoton')
| -rw-r--r-- | bsp/nuvoton/libraries/m031/rtt_port/drv_common.c | 2 | ||||
| -rw-r--r-- | bsp/nuvoton/libraries/m2354/rtt_port/drv_common.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/nuvoton/libraries/m031/rtt_port/drv_common.c b/bsp/nuvoton/libraries/m031/rtt_port/drv_common.c index 65b100bbe9..35a97b5433 100644 --- a/bsp/nuvoton/libraries/m031/rtt_port/drv_common.c +++ b/bsp/nuvoton/libraries/m031/rtt_port/drv_common.c @@ -138,5 +138,5 @@ static void reboot(uint8_t argc, char **argv) { rt_hw_cpu_reset(); } -FINSH_FUNCTION_EXPORT_ALIAS(reboot, __cmd_reboot, Reboot System); +MSH_CMD_EXPORT(reboot, Reboot System); #endif /* RT_USING_FINSH */ diff --git a/bsp/nuvoton/libraries/m2354/rtt_port/drv_common.c b/bsp/nuvoton/libraries/m2354/rtt_port/drv_common.c index 1dbd98f187..2209fbaba8 100644 --- a/bsp/nuvoton/libraries/m2354/rtt_port/drv_common.c +++ b/bsp/nuvoton/libraries/m2354/rtt_port/drv_common.c @@ -138,6 +138,6 @@ static void reboot(uint8_t argc, char **argv) { rt_hw_cpu_reset(); } -FINSH_FUNCTION_EXPORT_ALIAS(reboot, __cmd_reboot, Reboot System); +MSH_CMD_EXPORT(reboot, Reboot System); #endif /* RT_USING_FINSH */ |
