mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 16:38:12 +00:00
Force latest board versions
This commit is contained in:
parent
4facdf0932
commit
6fea0c2a93
@ -361,7 +361,7 @@ uint16_t initAFHDS2A()
|
||||
{
|
||||
phase = AFHDS2A_DATA;
|
||||
//Read RX ID from EEPROM based on RX_num, RX_num must be uniq for each RX
|
||||
uint8_t temp=50+RX_num*4;
|
||||
uint8_t temp=AFHDS2A_EEPROM_OFFSET+RX_num*4;
|
||||
for(uint8_t i=0;i<4;i++)
|
||||
rx_id[i]=eeprom_read_byte((EE_ADDR)(temp+i));
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 2
|
||||
#define VERSION_REVISION 0
|
||||
#define VERSION_PATCH_LEVEL 13
|
||||
#define VERSION_PATCH_LEVEL 14
|
||||
//******************
|
||||
// Protocols
|
||||
//******************
|
||||
|
@ -19,9 +19,9 @@
|
||||
#endif
|
||||
|
||||
// Check for minimum version of multi-module boards
|
||||
#define MIN_AVR_BOARD 102
|
||||
#define MIN_ORX_BOARD 102
|
||||
#define MIN_STM32_BOARD 103
|
||||
#define MIN_AVR_BOARD 103
|
||||
#define MIN_ORX_BOARD 103
|
||||
#define MIN_STM32_BOARD 104
|
||||
//AVR
|
||||
#if (defined(ARDUINO_MULTI_NO_BOOT) && ARDUINO_MULTI_NO_BOOT < MIN_AVR_BOARD) || (defined(ARDUINO_MULTI_FLASH_FROM_TX) && ARDUINO_MULTI_FLASH_FROM_TX < MIN_AVR_BOARD)
|
||||
#error You need to update your Multi 4-in-1 board definition. Open Boards Manager and update to the latest version of the Multi 4-in-1 AVR Boards.
|
||||
@ -44,13 +44,9 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Error if CHECK_FOR_BOOTLOADER is enabled but the 'Flash from TX' bootloader or upload method isn't selected.
|
||||
#if (defined(ARDUINO_MULTI_NO_BOOT) || defined(ARDUINO_MULTI_STM32_NO_BOOT)) && defined(CHECK_FOR_BOOTLOADER)
|
||||
#if defined(STM32_BOARD)
|
||||
#warning "You have enabled CHECK_FOR_BOOTLOADER but not selected the 'Flash from TX' upload method."
|
||||
#else
|
||||
#error "You have enabled CHECK_FOR_BOOTLOADER but not selected the 'Flash from TX' bootloader."
|
||||
#endif
|
||||
// Error if CHECK_FOR_BOOTLOADER is enabled but the 'Flash from TX' bootloader
|
||||
#if defined(ARDUINO_MULTI_NO_BOOT) && defined(CHECK_FOR_BOOTLOADER)
|
||||
#error "You have enabled CHECK_FOR_BOOTLOADER but not selected the 'Flash from TX' bootloader."
|
||||
#endif
|
||||
|
||||
//Check failsafe throttle value
|
||||
|
Loading…
x
Reference in New Issue
Block a user