1
0
Fork 0

zynq::flash: remove post-WRDI check

This commit is contained in:
Astro 2019-12-16 00:49:29 +01:00
parent dd0fe054d7
commit 0adb0d5c51
1 changed files with 0 additions and 1 deletions

View File

@ -482,7 +482,6 @@ impl Flash<Manual> {
let args = Some(INST_WRDI); let args = Some(INST_WRDI);
self.transfer(args.into_iter(), 1); self.transfer(args.into_iter(), 1);
self.regs.gpio.modify(|_, w| w.wp_n(false)); self.regs.gpio.modify(|_, w| w.wp_n(false));
while self.read_reg::<SR1>().wel() {}
result result
} }