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

Don't skip GPS serial speeds, and always land on GPS_BAUDRATE #5195

Merged
merged 3 commits into from
Nov 1, 2024

Conversation

jp-bennett
Copy link
Collaborator

Two tiny tweaks to GPS search. First, it really looks like the speedSelect skip can trigger each time through the loop of serialSpeeds, which means that we could skip some speeds every time. And second, rather than just always defaulting to 9600 after not finding anything, we should default to the defined speed in GPS_BAUDRATE. (Credit to Technologyman00 on Discord for that idea)

@Technologyman00
Copy link
Contributor

@fifieldt fifieldt merged commit 545ebf9 into master Nov 1, 2024
48 checks passed
@fifieldt fifieldt deleted the GPS-search-tweak branch November 1, 2024 00:44
caveman99 pushed a commit that referenced this pull request Nov 3, 2024
* Don't skip GPS serial speeds, and always land on GPS_BAUDRATE

* Update log message to match.

* print the value instead
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