embassy-stm32: export OptionalPeripherals

This commit is contained in:
Kaspar Schleiser 2024-02-21 21:54:05 +01:00
parent 9bf7a71849
commit bb3885267d

View File

@ -153,7 +153,7 @@ macro_rules! bind_interrupts {
} }
// Reexports // Reexports
pub use _generated::{peripherals, Peripherals}; pub use _generated::{peripherals, OptionalPeripherals, Peripherals};
pub use embassy_hal_internal::{into_ref, Peripheral, PeripheralRef}; pub use embassy_hal_internal::{into_ref, Peripheral, PeripheralRef};
#[cfg(feature = "unstable-pac")] #[cfg(feature = "unstable-pac")]
pub use stm32_metapac as pac; pub use stm32_metapac as pac;