Merge pull request #344 from bobmcwhirter/remove_builders
Remove builders from Config(s) and examples.
This commit is contained in:
@ -65,14 +65,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 {
|
||||
|
Reference in New Issue
Block a user