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

If GPS sleepTime is Zero, don't sleep. #4658

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

fifieldt
Copy link
Contributor

@fifieldt fifieldt commented Sep 9, 2024

At the moment if the result of sleepTime calculations comes out to zero, we put the GPS into HARDSLEEP (losing all its status) and then immediately make it ACTIVE again.

This patch avoids that toga.

fixes #4657

At the moment if the result of sleepTime calculations comes out
to zero, we put the GPS into HARDSLEEP (losing all its status) and
then immediately make it ACTIVE again.

This patch avoids that toga.

fixes meshtastic#4657
@caveman99 caveman99 merged commit e985ee8 into meshtastic:master Sep 9, 2024
104 checks passed
@fifieldt fifieldt deleted the zombiegps branch September 9, 2024 10:39
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.

[Bug]: If no GPS lock within timeout, state goes ACTIVE->HARDSLEEP then immediately HARDSLEEP-ACTIVE
3 participants