Removed SBUS trainer option

This commit is contained in:
Pascal Langer
2021-03-06 11:33:32 +01:00
parent c0285f81f0
commit a5428bc180
11 changed files with 60 additions and 151 deletions

View File

@@ -155,9 +155,9 @@ static void __attribute__((unused)) DSM_RX_build_telemetry_packet()
packet_in[idx++] = bits & 0xff;
// Send telemetry
telemetry_link = 1;
#if defined (SEND_SBUS_SERIAL) || defined (SEND_CPPM)
#ifdef SEND_CPPM
if(sub_protocol>0)
telemetry_link = 0x80 + sub_protocol; // Disable telemetry output, type SBUS=1, type CPPM=2
telemetry_link |= 0x80; // Disable telemetry output
#endif
}