Avoid Bluetooth fifo full (and 1ms wait in the mixer task...) (#7652)

Avoid Bluetooth fifo full (and 1ms wait in the mixer task...)
This commit is contained in:
Bertrand Songis
2020-05-31 16:45:48 +02:00
committed by GitHub
parent b6dfa477ef
commit c3f0e2ea88
3 changed files with 15 additions and 13 deletions
+2 -1
View File
@@ -69,7 +69,7 @@ const CrossfireSensor & getCrossfireSensor(uint8_t id, uint8_t subId)
void processCrossfireTelemetryValue(uint8_t index, int32_t value)
{
if(!TELEMETRY_STREAMING())
if (!TELEMETRY_STREAMING())
return;
const CrossfireSensor & sensor = crossfireSensors[index];
@@ -201,6 +201,7 @@ void processCrossfireTelemetryData(uint8_t data)
auxSerialPutc(data);
}
#endif
#if defined(AUX2_SERIAL)
if (g_eeGeneral.aux2SerialMode == UART_MODE_TELEMETRY_MIRROR) {
aux2SerialPutc(data);