summaryrefslogtreecommitdiff
path: root/bsp/at91sam9260/platform/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/at91sam9260/platform/reset.c')
-rw-r--r--bsp/at91sam9260/platform/reset.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bsp/at91sam9260/platform/reset.c b/bsp/at91sam9260/platform/reset.c
index 4b5462a9e1..6679ab57fe 100644
--- a/bsp/at91sam9260/platform/reset.c
+++ b/bsp/at91sam9260/platform/reset.c
@@ -38,15 +38,14 @@ int cmd_reset(int argc, char** argv)
rt_hw_cpu_reset();
return 0;
}
+MSH_CMD_EXPORT_ALIAS(cmd_reset, reset, restart the system);
int cmd_shutdown(int argc, char** argv)
{
rt_hw_cpu_shutdown();
return 0;
}
-
-FINSH_FUNCTION_EXPORT_ALIAS(cmd_reset, __cmd_reset, restart the system.);
-FINSH_FUNCTION_EXPORT_ALIAS(cmd_shutdown, __cmd_shutdown, shutdown the system.);
+MSH_CMD_EXPORT_ALIAS(cmd_shutdown, shutdown, shutdown the system);
#endif
#endif