mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-28 15:33:15 +00:00
SBUS and CPPM output
This commit is contained in:
@@ -151,6 +151,10 @@ uint16_t BAYANG_RX_callback()
|
||||
if (telemetry_link == 0) {
|
||||
Bayang_Rx_build_telemetry_packet();
|
||||
telemetry_link = 1;
|
||||
#if defined (SEND_SBUS_SERIAL) || defined (SEND_CPPM)
|
||||
if(sub_protocol>0)
|
||||
telemetry_link = 0x80 + sub_protocol; // Disable telemetry output, type SBUS=1, type CPPM=2
|
||||
#endif
|
||||
}
|
||||
rx_data_started = true;
|
||||
rx_data_received = true;
|
||||
|
||||
Reference in New Issue
Block a user