From 11b366b27dc26900bf1b6f737e465049ad9fad18 Mon Sep 17 00:00:00 2001 From: Thomas Otto Date: Sun, 2 May 2010 21:08:00 +0200 Subject: Corrected IWDG_BASE calculations. --- include/libopenstm32/iwdg.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/libopenstm32/iwdg.h b/include/libopenstm32/iwdg.h index 609b565..6665fea 100644 --- a/include/libopenstm32/iwdg.h +++ b/include/libopenstm32/iwdg.h @@ -26,16 +26,16 @@ /* --- IWDG registers ------------------------------------------------------ */ /* Key Register (IWDG_KR) */ -#define IWDG_KR MMIO32(iwdg_base + 0x00) +#define IWDG_KR MMIO32(IWDG_BASE + 0x00) /* Prescaler register (IWDG_PR) */ -#define IWDG_PR MMIO32(iwdg_base + 0x04) +#define IWDG_PR MMIO32(IWDG_BASE + 0x04) /* Reload register (IWDG_RLR) */ -#define IWDG_RLR MMIO32(iwdg_base + 0x08) +#define IWDG_RLR MMIO32(IWDG_BASE + 0x08) /* Status register (IWDG_SR) */ -#define IWDG_SR MMIO32(iwdg_base + 0x0C) +#define IWDG_SR MMIO32(IWDG_BASE + 0x0C) /* --- IWDG_KR values ------------------------------------------------------ */ -- cgit v1.2.3