Add Bayang RX protocol

This commit is contained in:
Goebish committed 2019-11-29 02:06:58 +01:00
1 parent 69519bdf14
commit 1f13a6c281
4 files changed
+165 -9

No files matched your search

+2 -2
View File
@@ -931,10 +931,10 @@ void TelemetryUpdate()
#endif
#if defined (FRSKY_RX_TELEMETRY) || defined(AFHDS2A_RX_TELEMETRY) || defined (BAYANG_RX_TELEMETRY)
if (telemetry_link && (protocol == PROTO_FRSKY_RX || protocol == PROTO_AFHDS2A_RX || protocol == PROTO_BAYANG_RX))
if ((telemetry_link & 1) && (protocol == PROTO_FRSKY_RX || protocol == PROTO_AFHDS2A_RX || protocol == PROTO_BAYANG_RX))
{
receiver_channels_frame();
telemetry_link = 0;
telemetry_link &= ~1;
return;
}
#endif