aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/dac.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/dac.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/dac.h')
-rw-r--r--libmaple/dac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/dac.h b/libmaple/dac.h
index 05914a4..a6a7541 100644
--- a/libmaple/dac.h
+++ b/libmaple/dac.h
@@ -69,7 +69,7 @@ typedef struct dac_reg_map {
} dac_reg_map;
/** DAC register map base address */
-#define DAC_BASE ((dac_reg_map*)0x40007400)
+#define DAC_BASE ((struct dac_reg_map*)0x40007400)
/*
* Devices