]> git.sur5r.net Git - openocd/commitdiff
stm32x_options_t -> struct stm32x_options
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 15:38:58 +0000 (07:38 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:07 +0000 (11:58 -0800)
Remove misleading typedef and redundant suffix from struct stm32x_options.

src/flash/stm32x.h

index 511146678ce2f8f703dbc736a726509eb086a037..60117627a71e18e43bcf59c21746ca7f8474b4d0 100644 (file)
 
 #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;