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_ExternalAHRS: Fix Build Option for InertialLabs #27819

Merged

Conversation

joshanne
Copy link
Contributor

@joshanne joshanne commented Aug 12, 2024

Opened after fixing some other build_options/extract_features in #27796

Extraction of the feature generates INERTIALLABS but the define uses INERTIAL_LABS.

This fixes it so the feature matches the build option.

build_options cannot autodetect InertialLabs since the feature is extracted as AP_EXTERNAL_AHRS_INERTIALLABS_ENABLED (without the underscore).
This allows you to define in/out InertialLabs properly.
@joshanne
Copy link
Contributor Author

@peterbarker following up from last weeks discussions.

@joshanne joshanne force-pushed the pr/fix-extahrs-build-option-inertiallabs branch from b7a9398 to abe68d6 Compare August 12, 2024 23:21
@joshanne joshanne changed the title Fix ExternalAHRS Build Option for InertialLabs AP_ExternalAHRS: Fix Build Option for InertialLabs Aug 13, 2024
@joshanne
Copy link
Contributor Author

Looks like FenceFloorEnabledLanding is flapping.

Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Note that I have #27777 on the way which, while a bit of a monster, will catch more of these issues in CI.

@peterbarker peterbarker merged commit 0ec7505 into ArduPilot:master Aug 13, 2024
93 checks passed
@peterbarker
Copy link
Contributor

Merged, thanks!

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.

2 participants