aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmaple/iwdg.h2
1 files changed, 1 insertions, 1 deletions
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,