Remove builders from Config(s) and examples.

This commit is contained in:
Bob McWhirter
2021-08-04 11:32:39 -04:00
parent 07a095be0d
commit 03f15d3a60
8 changed files with 67 additions and 104 deletions

View File

@ -67,14 +67,7 @@ pub use generated::{peripherals, Peripherals};
#[non_exhaustive]
pub struct Config {
rcc: rcc::Config,
}
impl Config {
pub fn rcc(mut self, rcc: rcc::Config) -> Self {
self.rcc = rcc;
self
}
pub rcc: rcc::Config,
}
impl Default for Config {