diff options
| author | Ulf Lilleengen <[email protected]> | 2024-06-22 14:14:35 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-22 14:14:35 +0000 |
| commit | 95d0cae897cc3557b0df4ea8cb73efb3a272b450 (patch) | |
| tree | 808204a65f7666f55587f4e1f7b63e64c889d3fb /embassy-time/src/lib.rs | |
| parent | 8b0c883443e975e6c43a964ed031da056f8b37ea (diff) | |
| parent | 8ec2e193e283657ebe9d29361b2b32ff253633a1 (diff) | |
Merge pull request #3079 from aurelj/with_timeout
implement with_timeout()/with_deadline() method style call on Future
Diffstat (limited to 'embassy-time/src/lib.rs')
| -rw-r--r-- | embassy-time/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-time/src/lib.rs b/embassy-time/src/lib.rs index 24ee51be7..8d0648ce5 100644 --- a/embassy-time/src/lib.rs +++ b/embassy-time/src/lib.rs | |||
| @@ -32,7 +32,7 @@ pub use delay::{block_for, Delay}; | |||
| 32 | pub use duration::Duration; | 32 | pub use duration::Duration; |
| 33 | pub use embassy_time_driver::TICK_HZ; | 33 | pub use embassy_time_driver::TICK_HZ; |
| 34 | pub use instant::Instant; | 34 | pub use instant::Instant; |
| 35 | pub use timer::{with_deadline, with_timeout, Ticker, TimeoutError, Timer}; | 35 | pub use timer::{with_deadline, with_timeout, Ticker, TimeoutError, Timer, WithTimeout}; |
| 36 | 36 | ||
| 37 | const fn gcd(a: u64, b: u64) -> u64 { | 37 | const fn gcd(a: u64, b: u64) -> u64 { |
| 38 | if b == 0 { | 38 | if b == 0 { |
