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 for #9225, some OSD elements are skipped incorrectly, when GPS is not present. #9229

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

mmosca
Copy link
Collaborator

@mmosca mmosca commented Aug 7, 2023

Fixes #9225
Replaces #9228

Skipping to OSD_ITEM_COUNT ignores new OSD elements

Any OSD elements after OSD_NAV_WP_MULTI_MISSION_INDEX are skipped, if GPS feature is disabled.

This fix this and allows newer elements to be rendered, even with GPS feature disabled.

Skipping to OSD_ITEM_COUNT at that point ignores new OSD elements
@mmosca mmosca requested review from breadoven and MrD-RC August 7, 2023 18:24
@mmosca mmosca changed the title Fix for #9225 Fix for #9225, some OSD elements are skipped incorrectly, when GPS is not present. Aug 7, 2023
@mmosca mmosca merged commit 21bb54f into master Aug 8, 2023
14 checks passed
@mmosca mmosca deleted the mmosca-osd-fix-9225 branch August 8, 2023 16:11
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.

Some OSD elements are not drawn when GPS is disabled.
2 participants