mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Prevent sending telemetry when baud negotiation in progress
This commit is contained in:
parent
e282744997
commit
0a0cb41343
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue