Merge pull request #207 from lulf/clock-init
Enable clock by default for stm32l0
This commit is contained in:
@ -47,6 +47,13 @@ pub struct Config {
|
||||
rcc: rcc::Config,
|
||||
}
|
||||
|
||||
impl Config {
|
||||
pub fn rcc(mut self, rcc: rcc::Config) -> Self {
|
||||
self.rcc = rcc;
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for Config {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
|
Reference in New Issue
Block a user