mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 09:16:01 +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
|
||||
|
||||
#if defined(USE_TELEMETRY_FRSKY)
|
||||
#if defined(USE_TELEMETRY_FRSKY)
|
||||
handleFrSkyTelemetry();
|
||||
#endif
|
||||
|
||||
|
@ -214,7 +214,7 @@ void telemetryProcess(timeUs_t currentTimeUs)
|
|||
handleJetiExBusTelemetry();
|
||||
#endif
|
||||
|
||||
#if defined(USE_TELEMETRY_IBUS)
|
||||
#if defined(USE_SERIALRX_IBUS) && defined(USE_TELEMETRY_IBUS)
|
||||
handleIbusTelemetry();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue