Merge pull request #10290 from 4712/serial-4way-if_v20005
Update serial-4way-if to v20005
This commit is contained in:
commit
5a87191d5e
|
@ -76,7 +76,7 @@
|
|||
// *** change to adapt Revision
|
||||
#define SERIAL_4WAY_VER_MAIN 20
|
||||
#define SERIAL_4WAY_VER_SUB_1 (uint8_t) 0
|
||||
#define SERIAL_4WAY_VER_SUB_2 (uint8_t) 04
|
||||
#define SERIAL_4WAY_VER_SUB_2 (uint8_t) 05
|
||||
|
||||
#define SERIAL_4WAY_PROTOCOL_VER 108
|
||||
// *** end
|
||||
|
@ -332,14 +332,13 @@ uint16_t _crc_xmodem_update (uint16_t crc, uint8_t data) {
|
|||
#define ATMEL_DEVICE_MATCH ((pDeviceInfo->words[0] == 0x9307) || (pDeviceInfo->words[0] == 0x930A) || \
|
||||
(pDeviceInfo->words[0] == 0x930F) || (pDeviceInfo->words[0] == 0x940B))
|
||||
|
||||
#define SILABS_DEVICE_MATCH ((pDeviceInfo->words[0] == 0xF310)||(pDeviceInfo->words[0] ==0xF330) || \
|
||||
#define SILABS_DEVICE_MATCH ((pDeviceInfo->words[0] == 0xF310) || (pDeviceInfo->words[0] == 0xF330) || \
|
||||
(pDeviceInfo->words[0] == 0xF410) || (pDeviceInfo->words[0] == 0xF390) || \
|
||||
(pDeviceInfo->words[0] == 0xF850) || (pDeviceInfo->words[0] == 0xE8B1) || \
|
||||
(pDeviceInfo->words[0] == 0xE8B2))
|
||||
|
||||
#define ARM_DEVICE_MATCH ((pDeviceInfo->words[0] == 0x1F06) || \
|
||||
(pDeviceInfo->words[0] == 0x3306) || (pDeviceInfo->words[0] == 0x3406) || (pDeviceInfo->words[0] == 0x3506) || \
|
||||
(pDeviceInfo->words[0] == 0x2B06) || (pDeviceInfo->words[0] == 0x4706))
|
||||
// BLHeli_32 MCU ID hi > 0x00 and < 0x90 / lo always = 0x06
|
||||
#define ARM_DEVICE_MATCH ((pDeviceInfo->bytes[1] > 0x00) && (pDeviceInfo->bytes[1] < 0x90) && (pDeviceInfo->bytes[0] == 0x06))
|
||||
|
||||
static uint8_t CurrentInterfaceMode;
|
||||
|
||||
|
|
Loading…
Reference in New Issue