_Static_assert fails if building with USE_RX_MSP and USE_MSP_RC_OVERRIDE defined
https://github.com/iNavFlight/inav/blob/master/src/main/cms/cms_menu_osd.c
Line 315
This static assert should not fail
Update the assert to match the expected correct number of menu entries
Issue-Label Bot is automatically applying the label BUG to this issue, with a confidence of 0.90. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
same issue, cant seem to figure out how to build now.... any pointers on a temp fix so i can build ;-;
Board: OBF4V3S
My suggestion for now would to update the assert.
https://github.com/iNavFlight/inav/blob/master/src/main/cms/cms_menu_osd.c
Line 315
_Static_assert(ARRAYLEN(menuOsdElemsEntries) - 2 + 1 == OSD_ITEM_COUNT, "missing OSD elements in CMS");
to something like this.
_Static_assert(ARRAYLEN(menuOsdElemsEntries) + 6 == OSD_ITEM_COUNT, "missing OSD elements in CMS");
Most helpful comment
Issue-Label Bot is automatically applying the label
BUGto this issue, with a confidence of 0.90. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!Links: app homepage, dashboard and code for this bot.