diff options
Diffstat (limited to 'embassy-executor/src/raw/deadline.rs')
| -rw-r--r-- | embassy-executor/src/raw/deadline.rs | 2 |
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}; | |||
| 2 | use core::task::Poll; | 2 | use 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 | ||
| 5 | pub struct Deadline { | 7 | pub 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, |
