aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/exti.h
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-05-23 17:41:04 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-05-26 02:42:06 -0400
commit47f8d216d0efe8b523bf3cdd00816fb9965d22a7 (patch)
tree651196087275c614353fbce2a70c3dd8fd58016b /libmaple/exti.h
parent41a93d13f0c89b00b90a492c24c9576e93cebafd (diff)
downloadlibrambutan-47f8d216d0efe8b523bf3cdd00816fb9965d22a7.tar.gz
librambutan-47f8d216d0efe8b523bf3cdd00816fb9965d22a7.zip
Tweak some register map base pointers.
Replace #define XXX_BASE ((xxx_reg_map*)0xDEADBEEF) with #define XXX_BASE ((struct xxx_reg_map*)0xDEADBEEF) for increased GDB-friendliness.
Diffstat (limited to 'libmaple/exti.h')
-rw-r--r--libmaple/exti.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/exti.h b/libmaple/exti.h
index e145033..f665015 100644
--- a/libmaple/exti.h
+++ b/libmaple/exti.h
@@ -50,7 +50,7 @@ typedef struct exti_reg_map {
} exti_reg_map;
/** EXTI register map base pointer */
-#define EXTI_BASE ((exti_reg_map*)0x40010400)
+#define EXTI_BASE ((struct exti_reg_map*)0x40010400)
/** External interrupt trigger mode */
typedef enum exti_trigger_mode {