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

Do not show efficiency on osd when ground speed is below 1 m/s #6470

Merged
merged 5 commits into from
Jan 5, 2021

Conversation

avsaase
Copy link
Member

@avsaase avsaase commented Jan 3, 2021

Fixes #6467. I replaced the sanity checks for a reasonable efficiency (<999mAh/km and <999Wh/km) by an explicit check for a ground speed above 1m/s.

src/main/io/osd.c Outdated Show resolved Hide resolved
@digitalentity digitalentity added this to the 2.7 milestone Jan 5, 2021
@digitalentity digitalentity merged commit 9914216 into iNavFlight:master Jan 5, 2021
@avsaase
Copy link
Member Author

avsaase commented Jan 5, 2021

Thanks!

@avsaase avsaase deleted the avs-fix-osd-efficiency-bug branch January 5, 2021 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wh/km efficiency keep changing when aircraft is on the ground
2 participants