aboutsummaryrefslogtreecommitdiff
path: root/embassy-hal-common/src
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-hal-common/src')
-rw-r--r--embassy-hal-common/src/usb/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-hal-common/src/usb/mod.rs b/embassy-hal-common/src/usb/mod.rs
index 70a74bd52..bab72d8b6 100644
--- a/embassy-hal-common/src/usb/mod.rs
+++ b/embassy-hal-common/src/usb/mod.rs
@@ -11,7 +11,7 @@ pub mod usb_serial;
11 11
12use crate::peripheral::{PeripheralMutex, PeripheralState, StateStorage}; 12use crate::peripheral::{PeripheralMutex, PeripheralState, StateStorage};
13use embassy::interrupt::Interrupt; 13use embassy::interrupt::Interrupt;
14use usb_serial::{ReadInterface, UsbSerial, WriteInterface}; 14pub use usb_serial::{ReadInterface, UsbSerial, WriteInterface};
15 15
16/// Marker trait to mark an interrupt to be used with the [`Usb`] abstraction. 16/// Marker trait to mark an interrupt to be used with the [`Usb`] abstraction.
17pub unsafe trait USBInterrupt: Interrupt + Send {} 17pub unsafe trait USBInterrupt: Interrupt + Send {}