stm32wl55: Use Dbgmcu::enable_all

This commit is contained in:
Timo Kröger 2021-07-29 17:38:40 +02:00
parent cad43587e6
commit 9342497132

View File

@ -122,11 +122,7 @@ impl<'d> Rcc<'d> {
unsafe {
pac::RCC.ahb1enr().modify(|w| w.set_dma1en(enable_dma));
pac::DBGMCU.cr().modify(|w| {
w.set_dbg_sleep(true);
w.set_dbg_standby(true);
w.set_dbg_stop(true);
});
Dbgmcu::enable_all();
}
}
}