ソースを参照

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

clickcheck 3 年 前
コミット
ed9037e376
1 ファイル変更2 行追加2 行削除
  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)