aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/rcc/wl5x/mod.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/embassy-stm32/src/rcc/wl5x/mod.rs b/embassy-stm32/src/rcc/wl5x/mod.rs
index 1b7bfb09d..edf603ee6 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 {
231 231
232pub unsafe fn init(config: Config) { 232pub unsafe fn init(config: Config) {
233 let r = <peripherals::RCC as embassy::util::Steal>::steal(); 233 let r = <peripherals::RCC as embassy::util::Steal>::steal();
234 let rcc = pac::RCC;
235 rcc.ahb2enr().write(|w| {
236 w.set_gpioaen(true);
237 w.set_gpioben(true);
238 w.set_gpiocen(true);
239 w.set_gpiohen(true);
240 });
241 let clocks = r.freeze(config); 234 let clocks = r.freeze(config);
242 set_freqs(clocks); 235 set_freqs(clocks);
243} 236}