aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src/raw/timer_queue.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-executor/src/raw/timer_queue.rs')
-rw-r--r--embassy-executor/src/raw/timer_queue.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/embassy-executor/src/raw/timer_queue.rs b/embassy-executor/src/raw/timer_queue.rs
index c36708401..cd9a73822 100644
--- a/embassy-executor/src/raw/timer_queue.rs
+++ b/embassy-executor/src/raw/timer_queue.rs
@@ -30,9 +30,10 @@ impl TimerQueueItem {
30/// The operation to perform after `timer_enqueue` is called. 30/// The operation to perform after `timer_enqueue` is called.
31#[derive(Debug, Copy, Clone, PartialEq)] 31#[derive(Debug, Copy, Clone, PartialEq)]
32#[cfg_attr(feature = "defmt", derive(defmt::Format))] 32#[cfg_attr(feature = "defmt", derive(defmt::Format))]
33#[must_use]
33pub enum TimerEnqueueOperation { 34pub enum TimerEnqueueOperation {
34 /// Enqueue the task. 35 /// Enqueue the task (or update its expiration time).
35 Enqueue, 36 Enqueue,
36 /// Update the task's expiration time. 37 /// The task must not be enqueued in the timer queue.
37 Ignore, 38 Ignore,
38} 39}