1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

Fix FrSky D cable telementry for 9XR PRO and DJT module. (#5220)

* Fix FrSky D cable telementry for 9XR PRO and DJT module.

* Revert a breaking change.
This commit is contained in:
Roderick Taylor 2017-09-18 03:10:45 +10:00 committed by Bertrand Songis
parent 6f3577c9a5
commit 9cb4b782e1
3 changed files with 13 additions and 5 deletions

View file

@ -404,7 +404,7 @@ void telemetryInit(uint8_t protocol)
}
#endif
#if defined(SERIAL2)
#if defined(SERIAL2) || defined(PCBSKY9X)
else if (protocol == PROTOCOL_FRSKY_D_SECONDARY) {
telemetryPortInit(0, TELEMETRY_SERIAL_DEFAULT);
serial2TelemetryInit(PROTOCOL_FRSKY_D_SECONDARY);