Prevent sending telemetry when baud negotiation in progress
This commit is contained in:
parent
e282744997
commit
0a0cb41343
|
@ -744,6 +744,13 @@ void handleCrsfTelemetry(timeUs_t currentTimeUs)
|
|||
if (!crsfTelemetryEnabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
#if defined(USE_CRSF_V3)
|
||||
if (crsfBaudNegotiationInProgress()) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Give the receiver a chance to send any outstanding telemetry data.
|
||||
// This needs to be done at high frequency, to enable the RX to send the telemetry frame
|
||||
// in between the RX frames.
|
||||
|
|
Loading…
Reference in New Issue