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

AP_OSD: use set_and_default when ensuring first screen is enabled #26609

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

IamPete1
Copy link
Member

The set here makes it look like a user change. I have also updated the comment to reflect what the code does, forcing to enabled. Alternatively we could just call set_default to only change the default but not set the value if the user has configured which is what the comment seems to suggest it should do.

@IamPete1 IamPete1 added the OSD On screen display label Mar 24, 2024
@tridge tridge merged commit 8ccec76 into ArduPilot:master Mar 26, 2024
91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OSD On screen display
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants