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:
parent
debe8ab772
commit
7a8e1cb8e0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue