DEVO: full telemetry

This commit is contained in:
Pascal Langer
2021-03-01 13:47:44 +01:00
parent f19bb05c7a
commit d36af55b84
5 changed files with 153 additions and 12 deletions

View File

@@ -257,6 +257,10 @@ uint8_t packet_in[TELEMETRY_BUFFER_SIZE];//telemetry receiving packets
uint8_t DSM_SerialRX_val[7];
bool DSM_SerialRX=false;
#endif
#ifdef MULTI_CONFIG_INO
uint8_t CONFIG_SerialRX_val[7];
bool CONFIG_SerialRX=false;
#endif
#endif // TELEMETRY
uint8_t multi_protocols_index=0xFF;
@@ -1503,6 +1507,13 @@ void update_serial_data()
DSM_SerialRX=true;
}
#endif
#ifdef MULTI_CONFIG_INO
if(protocol==PROTO_CONFIG && rx_len==27+7)
{//Protocol waiting for 7 bytes
memcpy(CONFIG_SerialRX_val, (const void *)&rx_ok_buff[27],7);
CONFIG_SerialRX=true;
}
#endif
}
RX_DONOTUPDATE_off;