Relax timestamp check

This commit is contained in:
Ulf Lilleengen 2025-01-02 13:35:55 +01:00
parent 422938745a
commit 92d67c3ccd

View File

@ -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 {