summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorbernard <[email protected]>2022-03-11 22:28:22 +0000
committerGitee <[email protected]>2022-03-11 22:28:22 +0000
commiteb649efb402b8e6c88a9e6139a2e4971835decb6 (patch)
tree353bb766de3bda2f1d44ca727232c3eab9757f5b /libcpu
parent50f7aa2d3f7e239bfd7a912ed8b90a77580fd6ee (diff)
parented9037e376d51e494cf123870c80256fa8aceb82 (diff)
!465 [轻量PR]解决龙芯1C硬件看门狗无法喂狗的问题
Merge pull request !465 from clickcheck/gitee_master
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)