stm32wl55: Use Dbgmcu::enable_all
This commit is contained in:
parent
cad43587e6
commit
9342497132
@ -122,11 +122,7 @@ impl<'d> Rcc<'d> {
|
|||||||
unsafe {
|
unsafe {
|
||||||
pac::RCC.ahb1enr().modify(|w| w.set_dma1en(enable_dma));
|
pac::RCC.ahb1enr().modify(|w| w.set_dma1en(enable_dma));
|
||||||
|
|
||||||
pac::DBGMCU.cr().modify(|w| {
|
Dbgmcu::enable_all();
|
||||||
w.set_dbg_sleep(true);
|
|
||||||
w.set_dbg_standby(true);
|
|
||||||
w.set_dbg_stop(true);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user