Explorar el Código

update libcpu/mips/gs232/gs232.h:
更正了看门狗的寄存器地址

clickcheck hace 3 años
padre
commit
ed9037e376
Se han modificado 1 ficheros con 2 adiciones y 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)