From: Zachary T Welch Date: Fri, 13 Nov 2009 15:38:58 +0000 (-0800) Subject: stm32x_options_t -> struct stm32x_options X-Git-Tag: v0.4.0-rc1~733 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=40273967bf535aefb3eaec9367c50e7799b079bb;p=openocd stm32x_options_t -> struct stm32x_options Remove misleading typedef and redundant suffix from struct stm32x_options. --- 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;