Skip to content

Commit ed9037e

Browse files
clickcheckgitee-org
authored andcommitted
update libcpu/mips/gs232/gs232.h:
更正了看门狗的寄存器地址
1 parent a0fadd4 commit ed9037e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcpu/mips/gs232/gs232.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151

5252
/* Watch Dog registers */
5353
#define WDT_EN HWREG32(WDT_BASE + 0x00)
54-
#define WDT_SET HWREG32(WDT_BASE + 0x04)
55-
#define WDT_TIMER HWREG32(WDT_BASE + 0x08)
54+
#define WDT_SET HWREG32(WDT_BASE + 0x08)
55+
#define WDT_TIMER HWREG32(WDT_BASE + 0x04)
5656

5757
#define PLL_FREQ HWREG32(0xbfe78030)
5858
#define PLL_DIV_PARAM HWREG32(0xbfe78034)

0 commit comments

Comments
 (0)