mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-12-06 07:37:38 +00:00
DEVO: full telemetry
This commit is contained in:
1 parent
f19bb05c7a
commit
d36af55b84
5 files changed
+153
-12
No files matched your search
@@ -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