diff options
| author | Meco Man <[email protected]> | 2021-09-05 01:50:58 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-09-05 01:57:26 -0400 |
| commit | e18d44940f966b1c132bf242786c62e2b6e57b7a (patch) | |
| tree | 8b94cef59ab612c56aad2c944d306a4594220753 /bsp/beaglebone | |
| parent | 31061873aeac364ac8ddd685e1f3b91c4c2f5f41 (diff) | |
[finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题
Diffstat (limited to 'bsp/beaglebone')
| -rw-r--r-- | bsp/beaglebone/applications/board.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bsp/beaglebone/applications/board.c b/bsp/beaglebone/applications/board.c index ff25dd7dd7..e1e1f8cae2 100644 --- a/bsp/beaglebone/applications/board.c +++ b/bsp/beaglebone/applications/board.c @@ -163,5 +163,4 @@ void rt_hw_cpu_reset(void) REG32(PRM_DEVICE(prcm_base)) = 0x1; RT_ASSERT(0); } -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); +MSH_CMD_EXPORT_ALIAS(rt_hw_cpu_reset, reboot, reboot the cpu); |
