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

Refresh OSD background after MSP change to craft name #9967

Merged
merged 1 commit into from
Jul 5, 2020

Conversation

etracer65
Copy link
Member

Fixes #9954 (even though that's using the field in an unintended way)

The OSD element "Craft name" is part of the OSD background so it's normally only rendered once. However that field can technically be updated at runtime using MSP_SET_NAME. Re-render the background as a result of this MSP command.

Reenables previously unexpected use of the Craft name field as a way to display updated data via Lua MSP messaging (see #9954).

@mikeller
Copy link
Member

mikeller commented Jun 29, 2020

Good idea to address this use case in this way!
But not sure this is a bug fix - it's really a new use case that was formerly covered by coincidence.

@mikeller mikeller merged commit 8ee0bff into betaflight:master Jul 5, 2020
@etracer65 etracer65 deleted the osd_refresh_background_msp branch December 27, 2020 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OSD: Laptime in the OSD via the craftname
2 participants