Telemetry forward through Bluetooth

This commit is contained in:
Bertrand Songis
2019-04-15 18:15:51 +02:00
parent d0c72be9e6
commit 0a2d2a9b99
2 changed files with 10 additions and 7 deletions
+2 -7
View File
@@ -33,16 +33,11 @@ void processFrskyTelemetryData(uint8_t data)
}
#endif
#if defined(BLUETOOTH)
if (g_eeGeneral.bluetoothMode == BLUETOOTH_TELEMETRY && bluetoothState == BLUETOOTH_STATE_CONNECTED) {
bluetoothForwardTelemetry(data);
}
#endif
if (pushFrskyTelemetryData(data)) {
if (IS_FRSKY_SPORT_PROTOCOL()) {
sportProcessTelemetryPacket(telemetryRxBuffer);
} else {
}
else {
frskyDProcessPacket(telemetryRxBuffer);
}
}