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

Correct Sub boot problem related to default parameters #27013

Merged
merged 2 commits into from
May 8, 2024

Conversation

peterbarker
Copy link
Contributor

The defaults table references parameters that might not exist.

This dumps us into the config error loop whenever that happens.

The config error loop may not always be particularly useful this early in the boot as there's a lot of uninitialised objects floating around, leading to nullptr derefs (at least on Copter, and this board seems to act as if something along those lines is happening)

parameters don't exist for defaulting, so config error loop is entered.  The config error loop also isn't working well this early in the boot, so the board is not perfectly informative.

Config Error: param deflt fail:BARO_PROBE_EXT
no link
Config Error: param deflt fail:BARO_PROBE_EXT
no link
no link
Config Error: param deflt fail:BARO_PROBE_EXT
no link
the more-than-trivial #if is needed elsewhere, so create an explicit name for it
@tridge tridge merged commit 972872d into ArduPilot:master May 8, 2024
91 checks passed
@peterbarker peterbarker deleted the pr/sub-boot-fix branch May 8, 2024 22:15
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.

3 participants