forked from M-Labs/zynq-rs
zynq::flash: remove post-WRDI check
This commit is contained in:
parent
dd0fe054d7
commit
0adb0d5c51
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue