aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src/raw/deadline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-executor/src/raw/deadline.rs')
-rw-r--r--embassy-executor/src/raw/deadline.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-executor/src/raw/deadline.rs b/embassy-executor/src/raw/deadline.rs
index 3f60936cc..c8cc94c52 100644
--- a/embassy-executor/src/raw/deadline.rs
+++ b/embassy-executor/src/raw/deadline.rs
@@ -2,6 +2,8 @@ use core::future::{poll_fn, Future};
2use core::task::Poll; 2use core::task::Poll;
3 3
4/// A type for interacting with the deadline of the current task 4/// A type for interacting with the deadline of the current task
5///
6/// Requires the `drs-scheduler` feature
5pub struct Deadline { 7pub struct Deadline {
6 /// Deadline value in ticks, same time base and ticks as `embassy-time` 8 /// Deadline value in ticks, same time base and ticks as `embassy-time`
7 pub instant_ticks: u64, 9 pub instant_ticks: u64,