diff --git a/radio/src/targets/common/arm/stm32/bootloader/boot.cpp b/radio/src/targets/common/arm/stm32/bootloader/boot.cpp index 7fda614ab..4d3d7cc91 100644 --- a/radio/src/targets/common/arm/stm32/bootloader/boot.cpp +++ b/radio/src/targets/common/arm/stm32/bootloader/boot.cpp @@ -17,21 +17,23 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ + #include "opentx.h" #include "boot.h" #include "bin_files.h" #if defined(PCBXLITE) -#define BOOTLOADER_KEYS 0x0F + #define BOOTLOADER_KEYS 0x0F #else -#define BOOTLOADER_KEYS 0x42 + #define BOOTLOADER_KEYS 0x42 #endif + #define APP_START_ADDRESS (uint32_t)(FIRMWARE_ADDRESS + BOOTLOADER_SIZE) #if defined(EEPROM) -#define MAIN_MENU_LEN 3 + #define MAIN_MENU_LEN 3 #else -#define MAIN_MENU_LEN 2 + #define MAIN_MENU_LEN 2 #endif typedef void (*voidFunction)(void); diff --git a/radio/src/targets/taranis/board.h b/radio/src/targets/taranis/board.h index 983515c5e..9bb5b94a8 100644 --- a/radio/src/targets/taranis/board.h +++ b/radio/src/targets/taranis/board.h @@ -312,7 +312,6 @@ enum EnumKeys KEY_MINUS, #endif - TRM_BASE, TRM_LH_DWN = TRM_BASE, TRM_LH_UP,