aboutsummaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 07:38:58 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:07 -0800
commit40273967bf535aefb3eaec9367c50e7799b079bb (patch)
tree1369ccea23ddff7acc775b2806c04d4e58e77537 /src/flash
parent9059f9f28e4d88c9608ef92723bbd493e106ba67 (diff)
stm32x_options_t -> struct stm32x_options
Remove misleading typedef and redundant suffix from struct stm32x_options.
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/stm32x.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/stm32x.h b/src/flash/stm32x.h
index 51114667..60117627 100644
--- a/src/flash/stm32x.h
+++ b/src/flash/stm32x.h
@@ -25,16 +25,16 @@
#include "flash.h"
-typedef struct stm32x_options_s
+struct stm32x_options
{
uint16_t RDP;
uint16_t user_options;
uint16_t protection[4];
-} stm32x_options_t;
+};
typedef struct stm32x_flash_bank_s
{
- stm32x_options_t option_bytes;
+ struct stm32x_options option_bytes;
working_area_t *write_algorithm;
int ppage_size;
int probed;