Fix FrSkyX and FrSkyR9 bind options

This commit is contained in:
Pascal Langer 2020-07-16 10:28:07 +02:00
parent ad48291d2a
commit da9d8851c2
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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];