embassy-nrf: re-export OptionalPeripherals

This commit is contained in:
Kaspar Schleiser 2023-11-22 13:56:06 +01:00
parent af35f9a423
commit 3839c7c5d9

View File

@ -128,7 +128,7 @@ macro_rules! bind_interrupts {
pub use chip::pac; pub use chip::pac;
#[cfg(not(feature = "unstable-pac"))] #[cfg(not(feature = "unstable-pac"))]
pub(crate) use chip::pac; pub(crate) use chip::pac;
pub use chip::{peripherals, Peripherals, EASY_DMA_SIZE}; pub use chip::{peripherals, OptionalPeripherals, Peripherals, EASY_DMA_SIZE};
pub use embassy_hal_internal::{into_ref, Peripheral, PeripheralRef}; pub use embassy_hal_internal::{into_ref, Peripheral, PeripheralRef};
pub use crate::chip::interrupt; pub use crate::chip::interrupt;