From 37a773c037223573f5bfb3c81c347240af4fa171 Mon Sep 17 00:00:00 2001 From: kalkyl Date: Tue, 7 Nov 2023 20:17:19 +0100 Subject: [PATCH] Use driver reexport --- examples/rp/Cargo.toml | 1 - examples/rp/src/bin/usb_raw_bulk.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml index c53510445..5ff505e86 100644 --- a/examples/rp/Cargo.toml +++ b/examples/rp/Cargo.toml @@ -12,7 +12,6 @@ embassy-executor = { version = "0.3.1", path = "../../embassy-executor", feature embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["nightly", "unstable-traits", "defmt", "defmt-timestamp-uptime"] } embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "unstable-traits", "nightly", "unstable-pac", "time-driver", "critical-section-impl"] } embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt", "msos-descriptor"] } -embassy-usb-driver = { version = "0.1.0", path = "../../embassy-usb-driver" } embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "udp", "dhcpv4", "medium-ethernet"] } embassy-net-wiznet = { version = "0.1.0", path = "../../embassy-net-wiznet", features = ["defmt"] } embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } diff --git a/examples/rp/src/bin/usb_raw_bulk.rs b/examples/rp/src/bin/usb_raw_bulk.rs index e8618c48d..b2274e6c3 100644 --- a/examples/rp/src/bin/usb_raw_bulk.rs +++ b/examples/rp/src/bin/usb_raw_bulk.rs @@ -36,7 +36,7 @@ use embassy_rp::peripherals::USB; use embassy_rp::usb::{Driver, InterruptHandler}; use embassy_usb::msos::{self, windows_version}; use embassy_usb::{Builder, Config, Handler}; -use embassy_usb_driver::{Endpoint, EndpointIn, EndpointOut}; +use embassy_usb::driver::{Endpoint, EndpointIn, EndpointOut}; use {defmt_rtt as _, panic_probe as _}; // This is a randomly generated GUID to allow clients on Windows to find our device