summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorRbb666 <[email protected]>2022-03-14 14:28:42 +0800
committerGitHub <[email protected]>2022-03-14 14:28:42 +0800
commit8505d91586871329aca586eaeaa5fc2d0bb092ca (patch)
tree936b5854fa7bdd757a70fd9bf057df88b48c1d10 /libcpu
parent01ed2e7d11e81ed31ba63229ab957be230457f9f (diff)
parent46d09e045eb767bf59452dd02dec93c65d30d345 (diff)
Merge branch 'RT-Thread:master' into 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)