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

Added extra format to Custom OSD Elements #10594

Merged
merged 2 commits into from
Jan 18, 2025

Conversation

MrD-RC
Copy link
Collaborator

@MrD-RC MrD-RC commented Jan 15, 2025

Added extra number format 0.00 to Custom OSD Elements.

As the enum has shifted from 7.x anyway. I have inserted these formats in the appropriate place in the enum.

  • Enums inserted at 11 and 23
  • Added END type to CUSTOM_ELEMENT_TYPE enum. To automatically handle future changes
  • Added fail in MSP is the type is not in the valid range

Configurator iNavFlight/inav-configurator#2303

Added extra number format `0.00` to Custom OSD Elements.

As the enum has shifted from 7.x anyway. I have inserted these formats in the appropriate place in the enum.

- Enums inserted at 11 and 23
- Added `END` type to CUSTOM_ELEMENT_TYPE enum. To automatically handle future changes
- Added fail in MSP is the type is not in the valid range
@MrD-RC MrD-RC added this to the 8.0 milestone Jan 15, 2025
@MrD-RC MrD-RC changed the title Added extra format to COE Added extra format to Custom OSD Elements Jan 15, 2025
@MrD-RC MrD-RC marked this pull request as ready for review January 18, 2025 13:55
@MrD-RC
Copy link
Collaborator Author

MrD-RC commented Jan 18, 2025

All good.

image
Configurator preview

image
Positive values

image
Negative values

@MrD-RC MrD-RC merged commit 5a4c7ca into master Jan 18, 2025
21 checks passed
@MrD-RC MrD-RC deleted the MrD_Add-more-layouts-for-custom-OSD-elements branch January 18, 2025 14:08
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.

1 participant