-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules: trigger: Don't schedule triggers immediately in normal mode
When entering normal mode, schedule triggers after the respective timeouts, not immediately. This fix prevents the trigger module from firing triggers every time the GNSS is disabled in normal mode. This issue occurs when a trigger is sent, and GNSS finishes sampling, causing an endless loop of back-and-forth triggers instead of returning to the expected interval. Signed-off-by: Simen S. Røstad <[email protected]>
- Loading branch information
1 parent
68eab32
commit 00709f0
Showing
2 changed files
with
14 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters