aboutsummaryrefslogtreecommitdiff
path: root/embassy-hal-common
diff options
context:
space:
mode:
authorJacob Rosenthal <[email protected]>2021-12-12 21:32:51 -0700
committerJacob Rosenthal <[email protected]>2021-12-12 21:39:59 -0700
commite5dc63e8e99d1d818ed7ab3b13ffff3ee2c40a3d (patch)
tree001cd24b366eab9d88d658d198dfdf3583db0263 /embassy-hal-common
parentf430c0e8c2e9703220978d9976b058ecf0117c45 (diff)
usb feature gate
Diffstat (limited to 'embassy-hal-common')
-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 {}