Skip to content

Commit c00507f

Browse files
committed
修改格式错误
1 parent 1d89578 commit c00507f

File tree

14 files changed

+149
-337
lines changed

14 files changed

+149
-337
lines changed

bsp/hc32f460/.ignore_format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
file_path:
66

77
dir_path:
8-
- Libraries
8+
- Libraries

bsp/hc32f460/applications/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
*
66
* Change Logs:
77
* Date Author Notes
8-
* 2021-09-2 lizhengyang first version
8+
* 2021-09-02 lizhengyang first version
99
*/
10-
#include "hc32_ddl.h"
10+
#include "board.h"
1111
#include <rtthread.h>
1212
#include <rtdevice.h>
13-
#include "drv_gpio.h"
13+
1414

1515
/* defined the LED1 pin: PE0 */
1616
#define LED1_PIN GET_PIN(E,0)

bsp/hc32f460/board/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Change Logs:
77
* Date Author Notes
8-
* 2021-09-2 lizhengyang first version
8+
* 2021-09-02 lizhengyang first version
99
*/
1010
#include <rthw.h>
1111
#include <rtthread.h>

bsp/hc32f460/board/board.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Change Logs:
77
* Date Author Notes
8-
* 2021-09-2 lizhengyang first version
8+
* 2021-09-02 lizhengyang first version
99
*/
1010
#ifndef __BOARD_H__
1111
#define __BOARD_H__

bsp/hc32f460/board/board_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Change Logs:
77
* Date Author Notes
8-
* 2021-09-2 lizhengyang first version
8+
* 2021-09-02 lizhengyang first version
99
*/
1010
#include <rtdevice.h>
1111
#include "board_config.h"

bsp/hc32f460/board/board_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Change Logs:
77
* Date Author Notes
8-
* 2021-09-2 lizhengyang first version
8+
* 2021-09-02 lizhengyang first version
99
*/
1010
#ifndef __BOARD_CONFIG_H__
1111
#define __BOARD_CONFIG_H__

bsp/hc32f460/drivers/drv_gpio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Change Logs:
77
* Date Author Notes
8-
* 2021-09-2 lizhengyang first version
8+
* 2021-09-02 lizhengyang first version
99
*/
1010

1111
#include <rtthread.h>
@@ -484,5 +484,5 @@ int rt_hw_pin_init(void)
484484
INIT_BOARD_EXPORT(rt_hw_pin_init);
485485

486486
#endif /* RT_USING_PIN */
487-
#include "drv_gpio.h"
487+
488488

bsp/hc32f460/drivers/drv_gpio.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Change Logs:
77
* Date Author Notes
8-
* 2021-09-2 lizhengyang first version
8+
* 2021-09-02 lizhengyang first version
99
*/
1010
#ifndef __DRV_GPIO_H__
1111
#define __DRV_GPIO_H__
@@ -146,6 +146,5 @@
146146
#endif /* EXINT15_IRQ_CONFIG */
147147

148148
#endif
149-
150-
extern void Led_Init(void);
151149
#endif
150+

bsp/hc32f460/drivers/drv_irq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Change Logs:
77
* Date Author Notes
8-
* 2021-09-2 lizhengyang first version
8+
* 2021-09-02 lizhengyang first version
99
*/
1010
#include <rtthread.h>
1111
#include "drv_irq.h"

bsp/hc32f460/drivers/drv_irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Change Logs:
77
* Date Author Notes
8-
* 2021-09-2 lizhengyang first version
8+
* 2021-09-02 lizhengyang first version
99
*/
1010

1111
#ifndef __DRV_IRQ_H__

0 commit comments

Comments
 (0)