all hals: reexport PAC if unstable-pac feature is set.

This commit is contained in:
Dario Nieuwenhuis
2021-07-14 22:19:04 +02:00
parent 6444066589
commit f916fe5476
6 changed files with 30 additions and 0 deletions

View File

@ -5,7 +5,10 @@
#![feature(never_type)]
#![allow(incomplete_features)]
#[cfg(feature = "unstable-pac")]
pub use rp2040_pac2 as pac;
#[cfg(not(feature = "unstable-pac"))]
pub(crate) use rp2040_pac2 as pac;
// This mod MUST go first, so that the others see its macros.
pub(crate) mod fmt;