mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 04:40:39 +00:00
Relax timestamp check
This commit is contained in:
parent
422938745a
commit
92d67c3ccd
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user