Skip to content

Commit 475ffe4

Browse files
author
haywire
committed
implement errata, see embassy issue embassy-rs#2309
1 parent dbaec78 commit 475ffe4

File tree

1 file changed

+1
-0
lines changed
  • embassy-stm32/src/flash

1 file changed

+1
-0
lines changed

embassy-stm32/src/flash/g.rs

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ pub(crate) unsafe fn unlock() {
3131

3232
pub(crate) unsafe fn enable_blocking_write() {
3333
assert_eq!(0, WRITE_SIZE % 4);
34+
pac::FLASH.acr().modify(|w| w.set_dcen(false));
3435
pac::FLASH.cr().write(|w| w.set_pg(true));
3536
}
3637

0 commit comments

Comments
 (0)