-
-
Notifications
You must be signed in to change notification settings - Fork 649
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect handling of micros() overflow
When micros() overflows, the LMIC tick value would make big jump back to zero, which caused the library to grind to a halt (waiting for timer values that never occurred). This fixes by detecting overflows and virtually extending the tick counter with a few bits.
- Loading branch information
1 parent
c32036d
commit f19d2cb
Showing
2 changed files
with
45 additions
and
3 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