From b346ea82977135b728af9ac59aebac1b5e599fe6 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 12 Dec 2019 00:11:42 +0100 Subject: [PATCH] zynq::flash: fix INST_RDCR --- src/zynq/flash/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zynq/flash/mod.rs b/src/zynq/flash/mod.rs index 83f5282..7f67854 100644 --- a/src/zynq/flash/mod.rs +++ b/src/zynq/flash/mod.rs @@ -12,9 +12,9 @@ pub use bytes::{BytesTransferExt, BytesTransfer}; const FLASH_BAUD_RATE: u32 = 50_000_000; const SINGLE_CAPACITY: u32 = 16 * 1024 * 1024; -///Instruction: Read Configure Register -const INST_RDCR: u8 = 0x3f; -/// Instruction Read Identification +/// Instruction: Read Configure Register +const INST_RDCR: u8 = 0x35; +/// Instruction: Read Identification const INST_RDID: u8 = 0x9F; pub struct LinearAddressing;