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

AP_BoardConfig: protect enumeration and get_board_type with #if #29460

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

peterbarker
Copy link
Contributor

avoid using these if this board does not do auto-detect

... also group them together

@peterbarker peterbarker force-pushed the pr/tidy-board-detect branch 3 times, most recently from e3d74ce to 133e1bd Compare March 8, 2025 02:07
@peterbarker peterbarker force-pushed the pr/tidy-board-detect branch from 133e1bd to 85d6569 Compare March 9, 2025 10:06
@peterbarker
Copy link
Contributor Author

No compiler output change on boards that do probe.

Others save a few bytes:

FlywooF405Pro,,-24,*,-24,-24,,-24,-24,-24
FlywooF405S-AIO,,,*,-24,,,,,
FlywooF745,,-24,*,-24,-24,,-24,-24,-24
FlywooF745Nano,,-24,*,-24,-24,,-24,-24,-24
FlywooH743Pro,,-16,*,-16,-24,,-16,-16,-16
FoxeerF405v2,,-24,*,-24,-24,,-24,-24,-24
FoxeerH743v1,,-24,*,-16,-16,,-24,-16,-16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant