aboutsummaryrefslogtreecommitdiff
path: root/libmaple
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-05-19 14:55:58 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-05-19 18:45:45 -0400
commitff3938adf61169052806bbf0a884ef07e682002d (patch)
treebc764572e3ac7f3fb91e666b842ef6e0890cde05 /libmaple
parenta52f66cb82e567dcb4efdc1e5e61ccb8ba8c98fb (diff)
iwdg: Naming anonymous enum.
Anonymous enum typedefed to iwdg_prescaler is now also enum iwdg_prescaler, for consistency with the rest of the library.
Diffstat (limited to 'libmaple')
-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,