Skip to content

Commit

Permalink
Relax timestamp check
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Jan 2, 2025
1 parent 4229387 commit 92d67c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embassy-nrf/src/time_driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ impl RtcDriver {

// If we have not passed the timestamp, we can be sure the alarm will be invoked. Otherwise,
// we need to retry setting the alarm.
if self.now() + 3 <= timestamp {
if self.now() + 2 <= timestamp {
return true;
}
} else {
Expand Down

0 comments on commit 92d67c3

Please sign in to comment.