Skip to content

Commit 623bf0a

Browse files
committed
bsp:ls2k:unify code format
1 parent 93bcc2e commit 623bf0a

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

bsp/ls2kdev/applications/pmcon.c

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
1+
/*
2+
* Copyright (c) 2006-2020, RT-Thread Development Team
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
6+
* Change Logs:
7+
* Date Author Notes
8+
* 2020-09-17 maoxiaochuan first version
9+
*/
10+
11+
112
#include <rtthread.h>
213

314
static void reboot()
415
{
5-
rt_hw_cpu_reset();
16+
rt_hw_cpu_reset();
617
}
7-
MSH_CMD_EXPORT(reboot, reboot sample);
18+
MSH_CMD_EXPORT(reboot, reboot system);
819

920

1021
static void poweroff()
1122
{
12-
rt_hw_cpu_shutdown();
23+
rt_hw_cpu_shutdown();
1324
}
14-
MSH_CMD_EXPORT(poweroff, shutdown power sample);
25+
MSH_CMD_EXPORT(poweroff, shutdown system);
1526

0 commit comments

Comments
 (0)