Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(telemetry): sensor processing with legacy polling disabled #2653

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

raphaelcoeffic
Copy link
Member

@raphaelcoeffic raphaelcoeffic commented Oct 30, 2022

Issue description

External modules using the new module interface (direkt polling of telemetry based on driver) disabled legacy telemetry polling (S.PORT shared pin) to avoid confusing the telemetry parser. However, this fix (see #2504) was implemented poorly and removed sensor processing, which is done in the same function.

External modules / protocol impacted:

  • ACCESS: R9M ACCESS
  • CRSF: Crossfire, Tracer and ELRS

It would impact basically anything that is related to sensor processing:

Fix

This PR fixes the issue by only skipping the polling itself, but not the sensor processing further down in the function.

Fixes #2546
Fixes #2591

@raphaelcoeffic raphaelcoeffic added this to the 2.8 milestone Oct 30, 2022
@pfeerick pfeerick added telemetry 📶 bug/regression ↩️ A new version of EdgeTX broke something labels Oct 31, 2022
@pfeerick
Copy link
Member

TX16S w/ internal MPM using flysky, telemetry warnings and variometer still working good
TX16S w/ external ELRS, telemetry warnings and variometer now working
BetaFPV LR3 w/ internal ELRS - no change - telemetry warnings good

@pfeerick pfeerick merged commit b61e2d8 into main Oct 31, 2022
@pfeerick pfeerick deleted the fix-2546 branch October 31, 2022 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/regression ↩️ A new version of EdgeTX broke something telemetry 📶
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2.8 RC2 =>2.8 RC3 telemetry "disable alarms" state changed Variometer sound
2 participants