diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-09-27 13:09:56 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-09-27 13:16:49 +0200 |
| commit | 17d8d11f734fb0d48d5f19fd17f91c9f9fa62e57 (patch) | |
| tree | feb735d788e03f2e3561845a594e7ec3dd42fe1b /embassy-rp/src/usb.rs | |
| parent | 82d436075633e179f96d49b6afb9045451a591d4 (diff) | |
usb: make HALs depend only on embassy-usb-driver.
Diffstat (limited to 'embassy-rp/src/usb.rs')
| -rw-r--r-- | embassy-rp/src/usb.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/embassy-rp/src/usb.rs b/embassy-rp/src/usb.rs index ce473b21d..0a904aab3 100644 --- a/embassy-rp/src/usb.rs +++ b/embassy-rp/src/usb.rs | |||
| @@ -7,8 +7,9 @@ use core::task::Poll; | |||
| 7 | use atomic_polyfill::compiler_fence; | 7 | use atomic_polyfill::compiler_fence; |
| 8 | use embassy_hal_common::into_ref; | 8 | use embassy_hal_common::into_ref; |
| 9 | use embassy_sync::waitqueue::AtomicWaker; | 9 | use embassy_sync::waitqueue::AtomicWaker; |
| 10 | use embassy_usb::driver::{ | 10 | use embassy_usb_driver as driver; |
| 11 | self, Direction, EndpointAddress, EndpointAllocError, EndpointError, EndpointInfo, EndpointType, Event, Unsupported, | 11 | use embassy_usb_driver::{ |
| 12 | Direction, EndpointAddress, EndpointAllocError, EndpointError, EndpointInfo, EndpointType, Event, Unsupported, | ||
| 12 | }; | 13 | }; |
| 13 | 14 | ||
| 14 | use crate::interrupt::{Interrupt, InterruptExt}; | 15 | use crate::interrupt::{Interrupt, InterruptExt}; |
