mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 18:48:11 +00:00
Fix FrSkyX and FrSkyR9 bind options
This commit is contained in:
parent
ad48291d2a
commit
da9d8851c2
@ -19,7 +19,7 @@
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 3
|
||||
#define VERSION_REVISION 1
|
||||
#define VERSION_PATCH_LEVEL 40
|
||||
#define VERSION_PATCH_LEVEL 41
|
||||
|
||||
//******************
|
||||
// Protocols
|
||||
|
@ -1890,7 +1890,7 @@ void update_serial_data()
|
||||
#endif
|
||||
if(rx_len>27)
|
||||
{ // Data available for the current protocol
|
||||
#if defined(FRSKYX_CC2500_INO) and defined(FRSKYR9_SX1276_INO)
|
||||
#if defined(FRSKYX_CC2500_INO) || defined(FRSKYR9_SX1276_INO)
|
||||
if((protocol==PROTO_FRSKYX || protocol==PROTO_FRSKYX2 || protocol==PROTO_FRSKY_R9) && rx_len==28)
|
||||
{//Protocol waiting for 1 byte during bind
|
||||
binding_idx=rx_ok_buff[27];
|
||||
|
Loading…
x
Reference in New Issue
Block a user