Skip to content

Conversation

@MrD-RC
Copy link
Member

@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
Member 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
sensei-hacker pushed a commit to sensei-hacker/inav_unofficial_targets that referenced this pull request Jul 13, 2025
…uts-for-custom-OSD-elements

Added extra format to Custom OSD Elements
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