Generate mod regs just once, so rustfmt is way faster.

This commit is contained in:
Dario Nieuwenhuis
2021-05-21 19:34:41 +02:00
parent f96db3d9d2
commit 35f1f65670
2 changed files with 5 additions and 11 deletions

View File

@ -31,7 +31,7 @@ pub use embassy_macros::interrupt;
pub use pac::{interrupt, peripherals, Peripherals};
// workaround for svd2rust-generated code using `use crate::generic::*;`
pub(crate) use pac::generic;
pub(crate) use pac::regs::generic;
#[non_exhaustive]
pub struct Config {