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-17 19:10:45 +02:00
committed by Bertrand Songis
parent 6f3577c9a5
commit 9cb4b782e1
3 changed files with 13 additions and 5 deletions
+1 -1
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);