X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fstm32x.c;h=a63ff60b4ad426ca074bc0e3faf82599c92e1a05;hp=1b2486dcadb91156045430546863b7f9029a3207;hb=5e43565ab543b1ceff4cc8030434a54ac28dd875;hpb=c7b2cad52dbc59b53d6f1734a443d3ad5e826a42 diff --git a/src/flash/stm32x.c b/src/flash/stm32x.c index 1b2486dcad..a63ff60b4a 100644 --- a/src/flash/stm32x.c +++ b/src/flash/stm32x.c @@ -437,8 +437,8 @@ static int stm32x_write_block(struct flash_bank_s *bank, uint8_t *buffer, uint32 uint32_t buffer_size = 16384; working_area_t *source; uint32_t address = bank->base + offset; - reg_param_t reg_params[4]; - armv7m_algorithm_t armv7m_info; + struct reg_param reg_params[4]; + struct armv7m_algorithm armv7m_info; int retval = ERROR_OK; uint8_t stm32x_flash_write_code[] = {