diff --git a/embassy-stm32/src/rcc/wl5x/mod.rs b/embassy-stm32/src/rcc/wl5x/mod.rs index 1b7bfb09..edf603ee 100644 --- a/embassy-stm32/src/rcc/wl5x/mod.rs +++ b/embassy-stm32/src/rcc/wl5x/mod.rs @@ -231,13 +231,6 @@ impl RccExt for RCC { pub unsafe fn init(config: Config) { let r = ::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); }