From ed9037e376d51e494cf123870c80256fa8aceb82 Mon Sep 17 00:00:00 2001 From: clickcheck Date: Tue, 22 Feb 2022 09:48:12 +0000 Subject: update libcpu/mips/gs232/gs232.h: 更正了看门狗的寄存器地址 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcpu/mips/gs232/gs232.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcpu') 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) -- cgit v1.3.1