Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/ch32v307/src/bin/usbfs_dfu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![no_main]

use panic_halt as _;
use ch32_hal::otg_fs::endpoint::EndpointDataBuffer;
use ch32_hal::usb::EndpointDataBuffer;
use ch32_hal::otg_fs::{self, Driver};
use ch32_hal::{self as hal, bind_interrupts, peripherals, Config};
use embassy_executor::Spawner;
Expand Down
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,12 @@ pub mod spi;
pub mod timer;
pub mod usart;

/// Common structures for USB drivers
pub mod usb;

#[cfg(otg)]
pub mod otg_fs;

#[cfg(usbd)]
pub mod usbd;

Expand Down
Loading
Loading