diff options
| author | Dániel Buga <[email protected]> | 2024-12-16 09:15:15 +0100 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2024-12-16 09:15:15 +0100 |
| commit | a10290b28e41922b0f53aafbcc82c49ee3f4e22f (patch) | |
| tree | 3e7ce75e729457070d19f6c73ba157ba47632994 | |
| parent | 4df4ffbbd49729cde38a3a4a73cdafd208372a53 (diff) | |
Zero-inizialize expires_at
| -rw-r--r-- | embassy-executor/src/raw/timer_queue.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/src/raw/timer_queue.rs b/embassy-executor/src/raw/timer_queue.rs index cd9a73822..2ba0e00a9 100644 --- a/embassy-executor/src/raw/timer_queue.rs +++ b/embassy-executor/src/raw/timer_queue.rs | |||
| @@ -22,7 +22,7 @@ impl TimerQueueItem { | |||
| 22 | pub(crate) const fn new() -> Self { | 22 | pub(crate) const fn new() -> Self { |
| 23 | Self { | 23 | Self { |
| 24 | next: Cell::new(None), | 24 | next: Cell::new(None), |
| 25 | expires_at: Cell::new(u64::MAX), | 25 | expires_at: Cell::new(0), |
| 26 | } | 26 | } |
| 27 | } | 27 | } |
| 28 | } | 28 | } |
