diff options
| author | xoviat <[email protected]> | 2023-07-15 14:18:01 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-07-15 14:18:01 -0500 |
| commit | 8a146a50ecd9168b2c856532b6f167e5b39433bb (patch) | |
| tree | cd343e5a6283bd64a7fca130b0aaa9587bcc1eff /embassy-time/src/driver_std.rs | |
| parent | f90b170dad91848d5a0ff746d873bd8a4ce7e91f (diff) | |
| parent | 0bde4992ea1b9f662fecaf062b1f6e09dd909112 (diff) | |
Merge branch 'master' into mac-3
Diffstat (limited to 'embassy-time/src/driver_std.rs')
| -rw-r--r-- | embassy-time/src/driver_std.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-time/src/driver_std.rs b/embassy-time/src/driver_std.rs index 9f8c57b5c..32db47a37 100644 --- a/embassy-time/src/driver_std.rs +++ b/embassy-time/src/driver_std.rs | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | use core::sync::atomic::{AtomicU8, Ordering}; | ||
| 1 | use std::cell::{RefCell, UnsafeCell}; | 2 | use std::cell::{RefCell, UnsafeCell}; |
| 2 | use std::mem::MaybeUninit; | 3 | use std::mem::MaybeUninit; |
| 3 | use std::sync::{Condvar, Mutex, Once}; | 4 | use std::sync::{Condvar, Mutex, Once}; |
| 4 | use std::time::{Duration as StdDuration, Instant as StdInstant}; | 5 | use std::time::{Duration as StdDuration, Instant as StdInstant}; |
| 5 | use std::{mem, ptr, thread}; | 6 | use std::{mem, ptr, thread}; |
| 6 | 7 | ||
| 7 | use atomic_polyfill::{AtomicU8, Ordering}; | ||
| 8 | use critical_section::Mutex as CsMutex; | 8 | use critical_section::Mutex as CsMutex; |
| 9 | 9 | ||
| 10 | use crate::driver::{AlarmHandle, Driver}; | 10 | use crate::driver::{AlarmHandle, Driver}; |
