SBUS and CPPM output

This commit is contained in:
Pascal Langer
2021-03-03 10:07:19 +01:00
parent d7c24d62ed
commit bb70116df0
10 changed files with 313 additions and 18 deletions

View File

@@ -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;