diff options
| author | James Munns <[email protected]> | 2025-04-03 10:27:26 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2025-09-11 14:45:06 +0200 |
| commit | b65a3a301a29c737f336ca344f671d4e9793fda8 (patch) | |
| tree | 41d4db52f7d6c3eb7cac66ecbe9a598ca49e3892 /embassy-executor/src/raw/mod.rs | |
| parent | 08a57b1cb0c3c4a40bd03e6e6ea1c97777300cf4 (diff) | |
Clean up some TODOs
Diffstat (limited to 'embassy-executor/src/raw/mod.rs')
| -rw-r--r-- | embassy-executor/src/raw/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/src/raw/mod.rs b/embassy-executor/src/raw/mod.rs index f4fbe1bfc..a0890a864 100644 --- a/embassy-executor/src/raw/mod.rs +++ b/embassy-executor/src/raw/mod.rs | |||
| @@ -316,7 +316,7 @@ impl<F: Future + 'static> AvailableTask<F> { | |||
| 316 | // By default, deadlines are set to the maximum value, so that any task WITH | 316 | // By default, deadlines are set to the maximum value, so that any task WITH |
| 317 | // a set deadline will ALWAYS be scheduled BEFORE a task WITHOUT a set deadline | 317 | // a set deadline will ALWAYS be scheduled BEFORE a task WITHOUT a set deadline |
| 318 | #[cfg(feature = "drs-scheduler")] | 318 | #[cfg(feature = "drs-scheduler")] |
| 319 | self.task.raw.deadline.set(u64::MAX); | 319 | self.task.raw.deadline.set(deadline::Deadline::UNSET_DEADLINE_TICKS); |
| 320 | 320 | ||
| 321 | let task = TaskRef::new(self.task); | 321 | let task = TaskRef::new(self.task); |
| 322 | 322 | ||
