Browse Source

Merge pull request #5670 from rtthread-bot/rtt_bot

[update] RT-Thread Robot automatic submission
guo 3 years ago
parent
commit
c1eb0d8db9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libcpu/mips/gs232/gs232.h

+ 2 - 2
libcpu/mips/gs232/gs232.h

@@ -51,8 +51,8 @@
 
 /* Watch Dog registers */
 #define WDT_EN              HWREG32(WDT_BASE + 0x00)
-#define WDT_SET             HWREG32(WDT_BASE + 0x04)
-#define WDT_TIMER           HWREG32(WDT_BASE + 0x08)
+#define WDT_SET             HWREG32(WDT_BASE + 0x08)
+#define WDT_TIMER           HWREG32(WDT_BASE + 0x04)
 
 #define PLL_FREQ            HWREG32(0xbfe78030)
 #define PLL_DIV_PARAM       HWREG32(0xbfe78034)