aboutsummaryrefslogtreecommitdiff
path: root/system-clock/include/flash.h
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2018-01-16 00:23:35 -0700
committerJosh Rahm <joshuarahm@gmail.com>2018-01-16 00:23:35 -0700
commitedec50e6a918359190f8ca34b2148e3a3c637e40 (patch)
tree39641126769cbf8bfc29bdca503ab23a3801e206 /system-clock/include/flash.h
parentb679becb9d09b6e74bf1412e98132504f8467c2b (diff)
downloadstm32l4-edec50e6a918359190f8ca34b2148e3a3c637e40.tar.gz
stm32l4-edec50e6a918359190f8ca34b2148e3a3c637e40.tar.bz2
stm32l4-edec50e6a918359190f8ca34b2148e3a3c637e40.zip
Format all files and add a clang-format file.
Diffstat (limited to 'system-clock/include/flash.h')
-rw-r--r--system-clock/include/flash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/system-clock/include/flash.h b/system-clock/include/flash.h
index ac63bf9..a163a25 100644
--- a/system-clock/include/flash.h
+++ b/system-clock/include/flash.h
@@ -7,7 +7,7 @@
* Header file for dealing with flash.
*/
-#define FLASH_BASE 0x40022000
+#define FLASH_BASE 0x40022000
typedef struct {
__IO uint32_t ac_r; /* Flash access control register. */
@@ -15,6 +15,6 @@ typedef struct {
/* TODO fill out the rest. */
} PACKED flash_t;
-#define FLASH (*(__IO flash_t*) FLASH_BASE)
+#define FLASH (*(__IO flash_t*)FLASH_BASE)
#endif /* H__FLASH_ */