Skip to content

Commit 94cfe1d

Browse files
charlownGuozhanxin
authored andcommitted
[bsp/wch/arm/Libraries/ch32_drivers]format code.
1 parent 7b2b9cd commit 94cfe1d

26 files changed

+55
-55
lines changed

bsp/wch/arm/Libraries/ch32_drivers/drv_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2021, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

bsp/wch/arm/Libraries/ch32_drivers/drv_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2021, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

bsp/wch/arm/Libraries/ch32_drivers/drv_flash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2021, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

bsp/wch/arm/Libraries/ch32_drivers/drv_flash_ch32f20x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2021, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

bsp/wch/arm/Libraries/ch32_drivers/drv_gpio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2021, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

bsp/wch/arm/Libraries/ch32_drivers/drv_gpio_ch32f10x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2021, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

bsp/wch/arm/Libraries/ch32_drivers/drv_gpio_ch32f20x.c

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2021, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*
@@ -102,37 +102,37 @@ static const struct pin_info pin_info_list[] = {
102102
ASSIGN_PIN(48, D, 0),
103103
ASSIGN_PIN(49, D, 1),
104104
ASSIGN_PIN(50, D, 2),
105-
ASSIGN_PIN(51, D, 3),
106-
ASSIGN_PIN(52, D, 4),
107-
ASSIGN_PIN(53, D, 5),
108-
ASSIGN_PIN(54, D, 6),
109-
ASSIGN_PIN(55, D, 7),
110-
ASSIGN_PIN(56, D, 8),
111-
ASSIGN_PIN(57, D, 9),
112-
ASSIGN_PIN(58, D, 10),
113-
ASSIGN_PIN(59, D, 11),
114-
ASSIGN_PIN(60, D, 12),
115-
ASSIGN_PIN(61, D, 13),
116-
ASSIGN_PIN(62, D, 14),
117-
ASSIGN_PIN(63, D, 15),
105+
ASSIGN_PIN(51, D, 3),
106+
ASSIGN_PIN(52, D, 4),
107+
ASSIGN_PIN(53, D, 5),
108+
ASSIGN_PIN(54, D, 6),
109+
ASSIGN_PIN(55, D, 7),
110+
ASSIGN_PIN(56, D, 8),
111+
ASSIGN_PIN(57, D, 9),
112+
ASSIGN_PIN(58, D, 10),
113+
ASSIGN_PIN(59, D, 11),
114+
ASSIGN_PIN(60, D, 12),
115+
ASSIGN_PIN(61, D, 13),
116+
ASSIGN_PIN(62, D, 14),
117+
ASSIGN_PIN(63, D, 15),
118118
#endif
119119
#if defined(GPIOE)
120120
ASSIGN_PIN(64, E, 0),
121121
ASSIGN_PIN(65, E, 1),
122122
ASSIGN_PIN(66, E, 2),
123-
ASSIGN_PIN(67, E, 3),
124-
ASSIGN_PIN(68, E, 4),
125-
ASSIGN_PIN(69, E, 5),
126-
ASSIGN_PIN(70, E, 6),
127-
ASSIGN_PIN(71, E, 7),
128-
ASSIGN_PIN(72, E, 8),
129-
ASSIGN_PIN(73, E, 9),
130-
ASSIGN_PIN(74, E, 10),
131-
ASSIGN_PIN(75, E, 11),
132-
ASSIGN_PIN(76, E, 12),
133-
ASSIGN_PIN(77, E, 13),
134-
ASSIGN_PIN(78, E, 14),
135-
ASSIGN_PIN(79, E, 15),
123+
ASSIGN_PIN(67, E, 3),
124+
ASSIGN_PIN(68, E, 4),
125+
ASSIGN_PIN(69, E, 5),
126+
ASSIGN_PIN(70, E, 6),
127+
ASSIGN_PIN(71, E, 7),
128+
ASSIGN_PIN(72, E, 8),
129+
ASSIGN_PIN(73, E, 9),
130+
ASSIGN_PIN(74, E, 10),
131+
ASSIGN_PIN(75, E, 11),
132+
ASSIGN_PIN(76, E, 12),
133+
ASSIGN_PIN(77, E, 13),
134+
ASSIGN_PIN(78, E, 14),
135+
ASSIGN_PIN(79, E, 15),
136136
#endif
137137
};
138138

bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2021, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c_ch32f10x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2021, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c_ch32f20x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2021, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

0 commit comments

Comments
 (0)