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

Triple-press not disabling GPS #4041

Merged
merged 5 commits into from
Jun 7, 2024

Conversation

todd-herbert
Copy link
Contributor

@todd-herbert todd-herbert commented Jun 5, 2024

Fixes an issue where triple-pressing the user button may not change the output at PIN_GPS_EN

Replaces a boolean, which didn't differentiate between "off" and "standby", with an enum.

src/gps/GPS.cpp Outdated Show resolved Hide resolved
@todd-herbert todd-herbert requested a review from caveman99 June 5, 2024 10:58
@thebentern thebentern merged commit da5bca3 into meshtastic:master Jun 7, 2024
82 checks passed
@todd-herbert todd-herbert deleted the gps-triple-press branch June 7, 2024 14:50
slash-bit pushed a commit to slash-bit/meshtastic-echo-echo that referenced this pull request Jul 4, 2024
* Replace (bool) isAwake with an enum, to track standby states

* Tidy-up, extra logging

* Rename enum values

* Reorder GPSPowerState enum
Possibly more intuitive when reading logs

* Avoid lego comments
https://github.com/meshtastic/firmware/pull/4041/files/de22c57298535f8b94154bffbef64a44af09648c#r1627334779
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