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_HAL_Linux: fix SPIUARTDriver to work with GPS autodetection #26997

Merged
merged 1 commit into from
May 8, 2024

Conversation

peterbarker
Copy link
Contributor

GPS auto-detection requires get_baud_rate to return non-zero. The SPIUARTDriver was returning 0.

Tested on NavIO2.

Still something strange going on:
image

... but it's now working.

Note that the return value doesn't actually matter here, it's just got to be non-zero.

GPS auto-detection requires get_baud_rate to return non-zero.  The SPIUARTDriver was returning 0.
@tridge tridge merged commit 599ff17 into ArduPilot:master May 8, 2024
60 checks passed
@peterbarker peterbarker deleted the pr/spiuartdriver-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