Skip to content

Commit 5280115

Browse files
committed
fix board.c format
1 parent c69fc19 commit 5280115

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

bsp/nrf5x/nrf5340/board/board.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2022, RT-Thread Development Team
2+
* Copyright (c) 2006-2024, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*
@@ -60,22 +60,22 @@ void rt_hw_board_init(void)
6060
rt_system_heap_init((void *)HEAP_BEGIN, (void *)HEAP_END);
6161
#endif
6262

63-
63+
6464
#ifdef RT_USING_SERIAL
6565
rt_hw_uart_init();
6666
#endif
67-
67+
6868
#ifdef SEGGER_RTT_ENABLE
6969
extern int rt_hw_jlink_rtt_init(void);
70-
rt_hw_jlink_rtt_init();
71-
rt_console_set_device("jlinkRtt");
70+
rt_hw_jlink_rtt_init();
71+
rt_console_set_device("jlinkRtt");
7272
#else
73-
#if defined(RT_USING_CONSOLE) && defined(RT_USING_DEVICE)
74-
rt_console_set_device(RT_CONSOLE_DEVICE_NAME);
75-
#endif
73+
#if defined(RT_USING_CONSOLE) && defined(RT_USING_DEVICE)
74+
rt_console_set_device(RT_CONSOLE_DEVICE_NAME);
75+
#endif
7676
#endif
7777

78-
78+
7979
#ifdef RT_USING_COMPONENTS_INIT
8080
rt_components_board_init();
8181
#endif

0 commit comments

Comments
 (0)