diff options
| author | James Munns <[email protected]> | 2025-04-01 19:32:12 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2025-09-11 14:45:06 +0200 |
| commit | ed2e51bfa4f92b422233343a0c5b1af98fb36537 (patch) | |
| tree | 481133e93d5eb8f2017c9e308220e24007a58c04 /embassy-executor/src/raw/deadline.rs | |
| parent | ba0426f767bb602750bed4fae87a156b661c0e92 (diff) | |
Dependency enablement trickery
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, |
