We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbaec78 commit 475ffe4Copy full SHA for 475ffe4
embassy-stm32/src/flash/g.rs
@@ -31,6 +31,7 @@ pub(crate) unsafe fn unlock() {
31
32
pub(crate) unsafe fn enable_blocking_write() {
33
assert_eq!(0, WRITE_SIZE % 4);
34
+ pac::FLASH.acr().modify(|w| w.set_dcen(false));
35
pac::FLASH.cr().write(|w| w.set_pg(true));
36
}
37
0 commit comments