mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-01-02 12:13:16 +00:00
DEVO: full telemetry
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user