diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-08-22 21:46:09 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-08-22 22:18:13 +0200 |
| commit | 21072bee48ff6ec19b79e0d9527ad8cc34a4e9e0 (patch) | |
| tree | b5b8c0f4b3571989b5fd15152be5639f4334c282 /embassy-usb-serial/src | |
| parent | 61356181b223e95f289ca3af3a038a699cde2112 (diff) | |
split `embassy-util` into `embassy-futures`, `embassy-sync`.
Diffstat (limited to 'embassy-usb-serial/src')
| -rw-r--r-- | embassy-usb-serial/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-usb-serial/src/lib.rs b/embassy-usb-serial/src/lib.rs index e561be9df..f3de2ec1b 100644 --- a/embassy-usb-serial/src/lib.rs +++ b/embassy-usb-serial/src/lib.rs | |||
| @@ -9,11 +9,11 @@ use core::cell::Cell; | |||
| 9 | use core::mem::{self, MaybeUninit}; | 9 | use core::mem::{self, MaybeUninit}; |
| 10 | use core::sync::atomic::{AtomicBool, Ordering}; | 10 | use core::sync::atomic::{AtomicBool, Ordering}; |
| 11 | 11 | ||
| 12 | use embassy_sync::blocking_mutex::CriticalSectionMutex; | ||
| 12 | use embassy_usb::control::{self, ControlHandler, InResponse, OutResponse, Request}; | 13 | use embassy_usb::control::{self, ControlHandler, InResponse, OutResponse, Request}; |
| 13 | use embassy_usb::driver::{Driver, Endpoint, EndpointError, EndpointIn, EndpointOut}; | 14 | use embassy_usb::driver::{Driver, Endpoint, EndpointError, EndpointIn, EndpointOut}; |
| 14 | use embassy_usb::types::*; | 15 | use embassy_usb::types::*; |
| 15 | use embassy_usb::Builder; | 16 | use embassy_usb::Builder; |
| 16 | use embassy_util::blocking_mutex::CriticalSectionMutex; | ||
| 17 | 17 | ||
| 18 | /// This should be used as `device_class` when building the `UsbDevice`. | 18 | /// This should be used as `device_class` when building the `UsbDevice`. |
| 19 | pub const USB_CLASS_CDC: u8 = 0x02; | 19 | pub const USB_CLASS_CDC: u8 = 0x02; |
