Skip to content

Commit e1a17f0

Browse files
mysterywolfBernardXiong
authored andcommitted
[frdm] format codes
1 parent 918ee61 commit e1a17f0

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

bsp/frdm-k64f/applications/startup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright (c) 2006-2018, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*
66
* Change Logs:
77
* Date Author Notes
8-
*
8+
*
99
*/
1010

1111
#include <rthw.h>

bsp/frdm-k64f/board/board.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright (c) 2006-2018, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*
66
* Change Logs:
77
* Date Author Notes
8-
*
8+
*
99
*/
1010

1111
#include <rthw.h>
@@ -69,7 +69,7 @@ void rt_hw_board_init()
6969
{
7070
/* NVIC Configuration */
7171
NVIC_Configuration();
72-
72+
7373
BOARD_BootClockRUN();
7474

7575
/* Configure the SysTick */

bsp/frdm-k64f/board/clock_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ void BOARD_BootClockRUN(void)
196196
CLOCK_SetXtal0Freq(oscConfig_BOARD_BootClockRUN.freq);
197197
/* Configure the Internal Reference clock (MCGIRCLK). */
198198
CLOCK_SetInternalRefClkConfig(mcgConfig_BOARD_BootClockRUN.irclkEnableMode,
199-
mcgConfig_BOARD_BootClockRUN.ircs,
199+
mcgConfig_BOARD_BootClockRUN.ircs,
200200
mcgConfig_BOARD_BootClockRUN.fcrdiv);
201201
/* Configure FLL external reference divider (FRDIV). */
202202
CLOCK_CONFIG_SetFllExtRefDiv(mcgConfig_BOARD_BootClockRUN.frdiv);

bsp/frdm-k64f/board/drv_uart.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2018, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*
@@ -243,7 +243,7 @@ void rt_hw_uart_init(void)
243243
config.parity = PARITY_NONE;
244244
config.stop_bits = STOP_BITS_1;
245245
config.invert = NRZ_NORMAL;
246-
config.bufsz = RT_SERIAL_RB_BUFSZ;
246+
config.bufsz = RT_SERIAL_RB_BUFSZ;
247247

248248
_k64_serial.ops = &_k64_ops;
249249
_k64_serial.config = config;

bsp/frdm-k64f/board/drv_uart.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright (c) 2006-2018, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*
66
* Change Logs:
77
* Date Author Notes
8-
*
8+
*
99
*/
1010

1111
#ifndef DRV_UART_H

bsp/frdm-k64f/board/fsl_phy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ status_t PHY_Init(ENET_Type *base, uint32_t phyAddr, uint32_t srcClock_Hz)
8080
while ((idReg != PHY_CONTROL_ID1) && (counter != 0))
8181
{
8282
PHY_Read(base, phyAddr, PHY_ID1_REG, &idReg);
83-
counter --;
83+
counter --;
8484
}
8585

8686
if (!counter)

0 commit comments

Comments
 (0)