1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 01:35:35 +03:00

Allow compilation when USE_SERIALRX_IBUS is not defined.

* linker errors occur otherwise.
This commit is contained in:
Hydra 2020-02-04 15:18:16 +01:00 committed by Dominic Clifton
parent debe8ab772
commit 7a8e1cb8e0

View file

@ -190,7 +190,7 @@ void telemetryProcess(timeUs_t currentTimeUs)
{ {
UNUSED(currentTimeUs); // since not used by all the telemetry protocols UNUSED(currentTimeUs); // since not used by all the telemetry protocols
#if defined(USE_TELEMETRY_FRSKY) #if defined(USE_TELEMETRY_FRSKY)
handleFrSkyTelemetry(); handleFrSkyTelemetry();
#endif #endif
@ -214,7 +214,7 @@ void telemetryProcess(timeUs_t currentTimeUs)
handleJetiExBusTelemetry(); handleJetiExBusTelemetry();
#endif #endif
#if defined(USE_TELEMETRY_IBUS) #if defined(USE_SERIALRX_IBUS) && defined(USE_TELEMETRY_IBUS)
handleIbusTelemetry(); handleIbusTelemetry();
#endif #endif