Explorar o código

Merge remote-tracking branch 'rtt_gitee/gitee_master'

rtthread-bot %!s(int64=3) %!d(string=hai) anos
pai
achega
ad5eb2e086
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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)