diff options
| -rw-r--r-- | embassy-nrf/src/time_driver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-nrf/src/time_driver.rs b/embassy-nrf/src/time_driver.rs index 61ae96718..03f4c2e2b 100644 --- a/embassy-nrf/src/time_driver.rs +++ b/embassy-nrf/src/time_driver.rs | |||
| @@ -247,7 +247,7 @@ impl RtcDriver { | |||
| 247 | 247 | ||
| 248 | // If we have not passed the timestamp, we can be sure the alarm will be invoked. Otherwise, | 248 | // If we have not passed the timestamp, we can be sure the alarm will be invoked. Otherwise, |
| 249 | // we need to retry setting the alarm. | 249 | // we need to retry setting the alarm. |
| 250 | if self.now() + 3 <= timestamp { | 250 | if self.now() + 2 <= timestamp { |
| 251 | return true; | 251 | return true; |
| 252 | } | 252 | } |
| 253 | } else { | 253 | } else { |
