diff --git a/flight/Bootloaders/AHRS/main.c b/flight/Bootloaders/AHRS/main.c index c7da0d439..b284e6365 100644 --- a/flight/Bootloaders/AHRS/main.c +++ b/flight/Bootloaders/AHRS/main.c @@ -170,7 +170,7 @@ void process_spi_request(void) { opahrs_msg_v0_init_user_tx(&user_tx_v0, OPAHRS_MSG_V0_RSP_MEM_MAP); user_tx_v0.payload.user.v.rsp.mem_map.density = bdinfo->hw_type; user_tx_v0.payload.user.v.rsp.mem_map.rw_flags = (BOARD_READABLE - | (BOARD_WRITABLA << 1)); + | (BOARD_WRITABLE << 1)); user_tx_v0.payload.user.v.rsp.mem_map.size_of_code_memory = bdinfo->fw_size; user_tx_v0.payload.user.v.rsp.mem_map.size_of_description diff --git a/flight/Bootloaders/CopterControl/op_dfu.c b/flight/Bootloaders/CopterControl/op_dfu.c index 834c29339..b45e1e798 100644 --- a/flight/Bootloaders/CopterControl/op_dfu.c +++ b/flight/Bootloaders/CopterControl/op_dfu.c @@ -387,7 +387,7 @@ void OPDfuIni(uint8_t discover) { Device dev; dev.programmingType = Self_flash; - dev.readWriteFlags = (BOARD_READABLE | (BOARD_WRITABLA << 1)); + dev.readWriteFlags = (BOARD_READABLE | (BOARD_WRITABLE << 1)); dev.startOfUserCode = bdinfo->fw_base; dev.sizeOfCode = bdinfo->fw_size; dev.sizeOfDescription = bdinfo->desc_size; diff --git a/flight/Bootloaders/OpenPilot/op_dfu.c b/flight/Bootloaders/OpenPilot/op_dfu.c index e15d8596b..bc62fff6c 100644 --- a/flight/Bootloaders/OpenPilot/op_dfu.c +++ b/flight/Bootloaders/OpenPilot/op_dfu.c @@ -452,7 +452,7 @@ void OPDfuIni(uint8_t discover) { Device dev; dev.programmingType = Self_flash; - dev.readWriteFlags = (BOARD_READABLE | (BOARD_WRITABLA << 1)); + dev.readWriteFlags = (BOARD_READABLE | (BOARD_WRITABLE << 1)); dev.startOfUserCode = bdinfo->fw_base; dev.sizeOfCode = bdinfo->fw_size; dev.sizeOfDescription = bdinfo->desc_size; diff --git a/flight/Bootloaders/PipXtreme/op_dfu.c b/flight/Bootloaders/PipXtreme/op_dfu.c index fa0281d52..770ce8237 100644 --- a/flight/Bootloaders/PipXtreme/op_dfu.c +++ b/flight/Bootloaders/PipXtreme/op_dfu.c @@ -419,7 +419,7 @@ void OPDfuIni(uint8_t discover) { Device dev; dev.programmingType = Self_flash; - dev.readWriteFlags = (BOARD_READABLE | (BOARD_WRITABLA << 1)); + dev.readWriteFlags = (BOARD_READABLE | (BOARD_WRITABLE << 1)); dev.startOfUserCode = bdinfo->fw_base; dev.sizeOfCode = bdinfo->fw_size; dev.sizeOfDescription = bdinfo->desc_size; diff --git a/flight/PiOS/Boards/STM32103CB_AHRS.h b/flight/PiOS/Boards/STM32103CB_AHRS.h index d17799ada..b407c0f42 100644 --- a/flight/PiOS/Boards/STM32103CB_AHRS.h +++ b/flight/PiOS/Boards/STM32103CB_AHRS.h @@ -65,7 +65,7 @@ TIM8 | | | | // BOOTLOADER_SETTINGS //------------------------ #define BOARD_READABLE TRUE -#define BOARD_WRITABLA TRUE +#define BOARD_WRITABLE TRUE #define MAX_DEL_RETRYS 3 //------------------------ diff --git a/flight/PiOS/Boards/STM32103CB_CC_Rev1.h b/flight/PiOS/Boards/STM32103CB_CC_Rev1.h index f26bd9c1c..16e58b5c2 100644 --- a/flight/PiOS/Boards/STM32103CB_CC_Rev1.h +++ b/flight/PiOS/Boards/STM32103CB_CC_Rev1.h @@ -61,7 +61,7 @@ TIM4 | RC In 1 | Servo 3 | Servo 2 | Servo 1 // BOOTLOADER_SETTINGS //------------------------ #define BOARD_READABLE TRUE -#define BOARD_WRITABLA TRUE +#define BOARD_WRITABLE TRUE #define MAX_DEL_RETRYS 3 diff --git a/flight/PiOS/Boards/STM32103CB_PIPXTREME_Rev1.h b/flight/PiOS/Boards/STM32103CB_PIPXTREME_Rev1.h index 7114c2871..a8eead4bd 100644 --- a/flight/PiOS/Boards/STM32103CB_PIPXTREME_Rev1.h +++ b/flight/PiOS/Boards/STM32103CB_PIPXTREME_Rev1.h @@ -59,7 +59,7 @@ TIM4 | STOPWATCH | // BOOTLOADER_SETTINGS //------------------------ #define BOARD_READABLE TRUE -#define BOARD_WRITABLA TRUE +#define BOARD_WRITABLE TRUE #define MAX_DEL_RETRYS 3 diff --git a/flight/PiOS/Boards/STM3210E_INS.h b/flight/PiOS/Boards/STM3210E_INS.h index 3229de344..d0c988b21 100644 --- a/flight/PiOS/Boards/STM3210E_INS.h +++ b/flight/PiOS/Boards/STM3210E_INS.h @@ -70,7 +70,7 @@ TIM8 | | | | // BOOTLOADER_SETTINGS //------------------------ #define BOARD_READABLE TRUE -#define BOARD_WRITABLA TRUE +#define BOARD_WRITABLE TRUE #define MAX_DEL_RETRYS 3 //------------------------ diff --git a/flight/PiOS/Boards/STM3210E_OP.h b/flight/PiOS/Boards/STM3210E_OP.h index 58e3fb077..c042184ea 100644 --- a/flight/PiOS/Boards/STM3210E_OP.h +++ b/flight/PiOS/Boards/STM3210E_OP.h @@ -69,7 +69,7 @@ TIM8 | Servo 5 | Servo 6 | Servo 7 | Servo 8 // BOOTLOADER_SETTINGS //------------------------ #define BOARD_READABLE TRUE -#define BOARD_WRITABLA TRUE +#define BOARD_WRITABLE TRUE #define MAX_DEL_RETRYS 3 //------------------------