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 | |
| parent | 221da7f464d811955acce96280332d95348fb24f (diff) | |
Disable FINSH_FUNCTION_EXPORT
Diffstat (limited to 'bsp')
| -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 | ||||
| -rw-r--r-- | bsp/stm32/libraries/HAL_Drivers/drv_common.c | 2 | ||||
| -rw-r--r-- | bsp/w60x/drivers/board.c | 2 |
4 files changed, 4 insertions, 4 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 */ diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_common.c b/bsp/stm32/libraries/HAL_Drivers/drv_common.c index 678e4ebadb..6cd9130a4a 100644 --- a/bsp/stm32/libraries/HAL_Drivers/drv_common.c +++ b/bsp/stm32/libraries/HAL_Drivers/drv_common.c @@ -25,7 +25,7 @@ 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 */ /* SysTick configuration */ diff --git a/bsp/w60x/drivers/board.c b/bsp/w60x/drivers/board.c index 188c698ba9..6997392e66 100644 --- a/bsp/w60x/drivers/board.c +++ b/bsp/w60x/drivers/board.c @@ -255,7 +255,7 @@ 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 */ /*@}*/ |
