summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorclickcheck <[email protected]>2022-02-22 09:48:12 +0000
committerGitee <[email protected]>2022-02-22 09:48:12 +0000
commited9037e376d51e494cf123870c80256fa8aceb82 (patch)
tree6b9297e9857d3d1b1b1f24b4ee68f8adb6f04adb /libcpu
parenta0fadd4e5a01f705328a73194d39f383539b8927 (diff)
update libcpu/mips/gs232/gs232.h:
更正了看门狗的寄存器地址
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/mips/gs232/gs232.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/mips/gs232/gs232.h b/libcpu/mips/gs232/gs232.h
index cbc660c874..897a4e5f7e 100644
--- a/libcpu/mips/gs232/gs232.h
+++ b/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)