stm32wl/rcc: remove unneded gpio enables in RCC.
These are already done by gpio::init().
This commit is contained in:
parent
cdc66e110f
commit
5d2f40b337
1 changed files with 0 additions and 7 deletions
|
@ -231,13 +231,6 @@ impl RccExt for RCC {
|
|||
|
||||
pub unsafe fn init(config: Config) {
|
||||
let r = <peripherals::RCC as embassy::util::Steal>::steal();
|
||||
let rcc = pac::RCC;
|
||||
rcc.ahb2enr().write(|w| {
|
||||
w.set_gpioaen(true);
|
||||
w.set_gpioben(true);
|
||||
w.set_gpiocen(true);
|
||||
w.set_gpiohen(true);
|
||||
});
|
||||
let clocks = r.freeze(config);
|
||||
set_freqs(clocks);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue