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

remove obsolete static_assert #9077

Merged
merged 1 commit into from
May 25, 2023
Merged

remove obsolete static_assert #9077

merged 1 commit into from
May 25, 2023

Conversation

stronnag
Copy link
Collaborator

@stronnag stronnag commented May 25, 2023

Due to a myriad of OSD changes since the static_assert was introduced, the assert is now obsolete and it's only current purpose is to prevent users easily compiling firmware with USE_MSP_RC_OVERRIDE defined.

Currently the difference between ARRAYLEN(menuOsdElemsEntries) and OSD_ITEM_COUNT is c. 40 and even if it could be revived, remains a maintenance burden.

@DzikuVx DzikuVx added this to the 7.0 milestone May 25, 2023
@stronnag stronnag merged commit ccd75e7 into master May 25, 2023
@stronnag stronnag deleted the jh_remove_obsolete_assert branch May 25, 2023 10:17
sensei-hacker pushed a commit to sensei-hacker/inav_unofficial_targets that referenced this pull request Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants