mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Fixed iBus telemetry handling (cherry-pick from @marcroe 's work in #2170.
This commit is contained in:
parent
f32580601a
commit
94993e55c0
4 changed files with 13 additions and 4 deletions
|
@ -137,6 +137,9 @@ void telemetryCheckState(void)
|
|||
#ifdef TELEMETRY_SRXL
|
||||
checkSrxlTelemetryState();
|
||||
#endif
|
||||
#ifdef TELEMETRY_IBUS
|
||||
checkIbusTelemetryState();
|
||||
#endif
|
||||
}
|
||||
|
||||
void telemetryProcess(uint32_t currentTime, rxConfig_t *rxConfig, uint16_t deadband3d_throttle)
|
||||
|
@ -170,6 +173,9 @@ void telemetryProcess(uint32_t currentTime, rxConfig_t *rxConfig, uint16_t deadb
|
|||
#ifdef TELEMETRY_SRXL
|
||||
handleSrxlTelemetry(currentTime);
|
||||
#endif
|
||||
#ifdef TELEMETRY_IBUS
|
||||
handleIbusTelemetry();
|
||||
#endif
|
||||
}
|
||||
|
||||
#define TELEMETRY_FUNCTION_MASK (FUNCTION_TELEMETRY_FRSKY | FUNCTION_TELEMETRY_HOTT | FUNCTION_TELEMETRY_LTM | FUNCTION_TELEMETRY_SMARTPORT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue