libboard_zynq::flash: fix bug in read_reg_until()

flash-minimal
Astro 2020-01-17 00:41:41 +01:00
parent 2b20d6b6c8
commit acb5207d0e
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ impl Flash<Manual> {
.bytes_transfer().skip(1) {
result = f(R::new(b));
if result.is_none() {
if result.is_some() {
break;
}
}