Skip to content

Commit 66c5e83

Browse files
committed
Change feature-gate for the usb module
1 parent f9a4b1c commit 66c5e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub mod spi;
180180
pub mod time;
181181
#[cfg(feature = "device-selected")]
182182
pub mod timer;
183-
#[cfg(any(feature = "stm32f102", feature = "stm32f103"))]
183+
#[cfg(all(feature = "device-selected", feature = "stm32-usbd"))]
184184
pub mod usb;
185185
#[cfg(feature = "device-selected")]
186186
pub mod watchdog;

0 commit comments

Comments
 (0)