Skip to content

Commit 93bcc2e

Browse files
committed
unify code format
1 parent dd36771 commit 93bcc2e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

bsp/ls2kdev/drivers/board.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,23 @@ extern unsigned char __bss_end;
2424
/*
2525
* General PM Configuration Register
2626
*/
27-
#define PMCON_BASE (APB_BASE | (0x7 << 12))
27+
#define PMCON_BASE (APB_BASE | (0x7 << 12))
2828

2929
/*
3030
* Power Management1 Configuration Registers
3131
*/
32-
#define PM1_BASE (PMCON_BASE + 0x0C)
33-
#define PM1_STS HWREG32(PM1_BASE)
34-
#define PM1_EN HWREG32(PM1_BASE + 0x04)
35-
#define PM1_CNT HWREG32(PM1_BASE + 0x08)
32+
#define PM1_BASE (PMCON_BASE + 0x0C)
33+
#define PM1_STS HWREG32(PM1_BASE)
34+
#define PM1_EN HWREG32(PM1_BASE + 0x04)
35+
#define PM1_CNT HWREG32(PM1_BASE + 0x08)
3636

3737
/*
3838
* Watch Dog Configuration Registers
3939
*/
40-
#define WDT_BASE (PMCON_BASE + 0x30)
41-
#define WDT_EN HWREG32(WDT_BASE)
42-
#define WDT_SET HWREG32(WDT_BASE + 0x04)
43-
#define WDT_TIMER HWREG32(WDT_BASE + 0x08)
40+
#define WDT_BASE (PMCON_BASE + 0x30)
41+
#define WDT_EN HWREG32(WDT_BASE)
42+
#define WDT_SET HWREG32(WDT_BASE + 0x04)
43+
#define WDT_TIMER HWREG32(WDT_BASE + 0x08)
4444

4545

4646
void rt_hw_board_init(void);

0 commit comments

Comments
 (0)