From 0adb0d5c51d0c483fc5e7845d0a26e8159c40e68 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 16 Dec 2019 00:49:29 +0100 Subject: [PATCH] zynq::flash: remove post-WRDI check --- src/zynq/flash/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/zynq/flash/mod.rs b/src/zynq/flash/mod.rs index 85a80cc..5bb8ab9 100644 --- a/src/zynq/flash/mod.rs +++ b/src/zynq/flash/mod.rs @@ -482,7 +482,6 @@ impl Flash { let args = Some(INST_WRDI); self.transfer(args.into_iter(), 1); self.regs.gpio.modify(|_, w| w.wp_n(false)); - while self.read_reg::().wel() {} result }