all hals: reexport PAC if unstable-pac
feature is set.
This commit is contained in:
@ -65,7 +65,11 @@ mod chip;
|
||||
#[path = "chips/nrf52840.rs"]
|
||||
mod chip;
|
||||
|
||||
#[cfg(feature = "unstable-pac")]
|
||||
pub use chip::pac;
|
||||
#[cfg(not(feature = "unstable-pac"))]
|
||||
pub(crate) use chip::pac;
|
||||
|
||||
pub use chip::{peripherals, Peripherals};
|
||||
|
||||
pub mod interrupt {
|
||||
|
Reference in New Issue
Block a user