aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/flash.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/flash.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/flash.h')
-rw-r--r--libmaple/flash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/flash.h b/libmaple/flash.h
index 9db5015..8ee03c5 100644
--- a/libmaple/flash.h
+++ b/libmaple/flash.h
@@ -49,7 +49,7 @@ typedef struct flash_reg_map {
} flash_reg_map;
/** Flash register map base pointer */
-#define FLASH_BASE ((flash_reg_map*)0x40022000)
+#define FLASH_BASE ((struct flash_reg_map*)0x40022000)
/*
* Register bit definitions