diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-07-12 18:30:43 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-07-12 18:30:43 +0200 |
| commit | dff9bd9711205fd4cd5a91384072ab6aa2335d18 (patch) | |
| tree | 5173ffb96e85b1089d3fc8cccbf9fc824ae1ae72 /embassy-time/src/driver_std.rs | |
| parent | ed86fc175fdf44ec69146decee2949046a191dbc (diff) | |
Remove trivial to remove uses of atomic-polyfill.
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}; |
