We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2673297 commit 8291ac0Copy full SHA for 8291ac0
src/bus.rs
@@ -3,10 +3,10 @@ use crate::endpoint::{
3
IsochronousUsageType,
4
};
5
use crate::{Result, UsbDirection, UsbError};
6
+use atomic_polyfill::{AtomicPtr, Ordering};
7
use core::cell::RefCell;
8
use core::mem;
9
use core::ptr;
-use atomic_polyfill::{AtomicPtr, Ordering};
10
11
/// A trait for device-specific USB peripherals. Implement this to add support for a new hardware
12
/// platform.
src/endpoint.rs
@@ -1,7 +1,7 @@
1
use crate::bus::UsbBus;
2
use crate::{Result, UsbDirection};
-use core::marker::PhantomData;
use atomic_polyfill::{AtomicPtr, Ordering};
+use core::marker::PhantomData;
/// Trait for endpoint type markers.
pub trait EndpointDirection {
0 commit comments