FrSkyX add bind options CH1-8/CH9-16 & Telem ON/OFF

This commit is contained in:
pascallanger
2019-12-19 17:26:47 +01:00
parent cace1144db
commit a23d50bf0d
3 changed files with 20 additions and 1 deletions

View File

@@ -1709,6 +1709,12 @@ void update_serial_data()
#endif
if(rx_len>27)
{ // Data available for the current protocol
#ifdef FRSKYX_CC2500_INO
if(protocol==PROTO_FRSKYX && rx_len==28)
{//Protocol waiting for 1 byte during bind
binding_idx=rx_ok_buff[27];
}
#endif
#ifdef SPORT_SEND
if(protocol==PROTO_FRSKYX && rx_len==35)
{//Protocol waiting for 8 bytes