mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-03 03:57:51 +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_MAJOR 1
|
||||||
#define VERSION_MINOR 3
|
#define VERSION_MINOR 3
|
||||||
#define VERSION_REVISION 1
|
#define VERSION_REVISION 1
|
||||||
#define VERSION_PATCH_LEVEL 40
|
#define VERSION_PATCH_LEVEL 41
|
||||||
|
|
||||||
//******************
|
//******************
|
||||||
// Protocols
|
// Protocols
|
||||||
|
@ -1890,7 +1890,7 @@ void update_serial_data()
|
|||||||
#endif
|
#endif
|
||||||
if(rx_len>27)
|
if(rx_len>27)
|
||||||
{ // Data available for the current protocol
|
{ // 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)
|
if((protocol==PROTO_FRSKYX || protocol==PROTO_FRSKYX2 || protocol==PROTO_FRSKY_R9) && rx_len==28)
|
||||||
{//Protocol waiting for 1 byte during bind
|
{//Protocol waiting for 1 byte during bind
|
||||||
binding_idx=rx_ok_buff[27];
|
binding_idx=rx_ok_buff[27];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user