aboutsummaryrefslogtreecommitdiffstats
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
commit44394fd34d98e356557c80da2e60b789870a4eeb (patch)
treeeb37eef9ddd9ec1b739f58d1abcda3b8177a9968
parentc78bb9dbc6d2b5a9136ecd35a1f45f2a00145c65 (diff)
downloadlibrambutan-44394fd34d98e356557c80da2e60b789870a4eeb.tar.gz
librambutan-44394fd34d98e356557c80da2e60b789870a4eeb.zip
iwdg: Naming anonymous enum.
Anonymous enum typedefed to iwdg_prescaler is now also enum iwdg_prescaler, for consistency with the rest of the library.
-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,