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.
UsbPeripheral
Sync
1 parent eabb9bc commit 7238633Copy full SHA for 7238633
src/lib.rs
@@ -11,7 +11,7 @@ pub use usbd::Usbd;
11
/// A trait for device-specific USB peripherals. Implement this to add support for a new hardware
12
/// platform. Peripherals that have this trait must have the same register block as NRF52 USBD
13
/// peripherals.
14
-pub unsafe trait UsbPeripheral: Send + Sync {
+pub unsafe trait UsbPeripheral: Send {
15
/// Pointer to the register block
16
const REGISTERS: *const ();
17
}
0 commit comments