OSD custom elements: add 16-bit icon support#11608
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
Test firmware build ready — commit Download firmware for PR #11608 237 targets built. Find your board's
|
|
@error414 Sorry for the false report in the configurator side. I stupidly didn't load the fw side with it.. |
|
@Jetrell it's ok :). thank you very much for test. I knew about that restriction from the begining, it was on my list for a long time. |
CUSTOM_ELEMENT_TYPE_ICON_GV and CUSTOM_ELEMENT_TYPE_ICON_LC were hard-casting the resolved icon value to uint8_t, limiting icons to 0–255. This change lifts that restriction to match the existing 16-bit handling already present in CUSTOM_ELEMENT_TYPE_ICON_STATIC.
Configurator PR: iNavFlight/inav-configurator#2643