diff options
| author | Jacob Rosenthal <[email protected]> | 2021-12-12 21:32:51 -0700 |
|---|---|---|
| committer | Jacob Rosenthal <[email protected]> | 2021-12-12 21:39:59 -0700 |
| commit | e5dc63e8e99d1d818ed7ab3b13ffff3ee2c40a3d (patch) | |
| tree | 001cd24b366eab9d88d658d198dfdf3583db0263 /embassy-hal-common | |
| parent | f430c0e8c2e9703220978d9976b058ecf0117c45 (diff) | |
usb feature gate
Diffstat (limited to 'embassy-hal-common')
| -rw-r--r-- | embassy-hal-common/src/usb/mod.rs | 2 |
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 | ||
| 12 | use crate::peripheral::{PeripheralMutex, PeripheralState, StateStorage}; | 12 | use crate::peripheral::{PeripheralMutex, PeripheralState, StateStorage}; |
| 13 | use embassy::interrupt::Interrupt; | 13 | use embassy::interrupt::Interrupt; |
| 14 | use usb_serial::{ReadInterface, UsbSerial, WriteInterface}; | 14 | pub 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. |
| 17 | pub unsafe trait USBInterrupt: Interrupt + Send {} | 17 | pub unsafe trait USBInterrupt: Interrupt + Send {} |
