From 44394fd34d98e356557c80da2e60b789870a4eeb Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Thu, 19 May 2011 14:55:58 -0400 Subject: iwdg: Naming anonymous enum. Anonymous enum typedefed to iwdg_prescaler is now also enum iwdg_prescaler, for consistency with the rest of the library. --- libmaple/iwdg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmaple/iwdg.h b/libmaple/iwdg.h index e0a2d62..551bb12 100644 --- a/libmaple/iwdg.h +++ b/libmaple/iwdg.h @@ -89,7 +89,7 @@ typedef struct iwdg_reg_map { #define IWDG_SR_PVU BIT(IWDG_SR_PVU_BIT) /** Independent watchdog prescalers */ -typedef enum { +typedef enum iwdg_prescaler { IWDG_PRE_4 = IWDG_PR_DIV_4, IWDG_PRE_8 = IWDG_PR_DIV_8, IWDG_PRE_16 = IWDG_PR_DIV_16, -- cgit v1.2.3