summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 07:39:03 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:07 -0800
commit01b10d65bfcc6eb9a3994b20b1342389edda2df0 (patch)
tree04c4189a2cf0c815ef29c4ad9e4f5c1c1dd2b5c1 /src/flash
parentc7b2cad52dbc59b53d6f1734a443d3ad5e826a42 (diff)
downloadopenocd_libswd-01b10d65bfcc6eb9a3994b20b1342389edda2df0.tar.gz
openocd_libswd-01b10d65bfcc6eb9a3994b20b1342389edda2df0.tar.bz2
openocd_libswd-01b10d65bfcc6eb9a3994b20b1342389edda2df0.tar.xz
openocd_libswd-01b10d65bfcc6eb9a3994b20b1342389edda2df0.zip
stm32x_mem_layout_t -> struct stm32x_mem_layout
Remove misleading typedef and redundant suffix from struct stm32x_mem_layout.
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/stm32x.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/stm32x.h b/src/flash/stm32x.h
index 471b633f..9e1e5b1c 100644
--- a/src/flash/stm32x.h
+++ b/src/flash/stm32x.h
@@ -93,9 +93,9 @@ struct stm32x_flash_bank
#define KEY1 0x45670123
#define KEY2 0xCDEF89AB
-typedef struct stm32x_mem_layout_s {
+struct stm32x_mem_layout {
uint32_t sector_start;
uint32_t sector_size;
-} stm32x_mem_layout_t;
+};
#endif /* STM32X_H */