From 6c4b07e0cf6d7168baa8728225982d5176037dab Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 22 Dec 2019 03:12:53 +0100 Subject: [PATCH] libboard_zynq::flash: syntax --- libboard_zynq/src/flash/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libboard_zynq/src/flash/mod.rs b/libboard_zynq/src/flash/mod.rs index 9909a26..4dd42aa 100644 --- a/libboard_zynq/src/flash/mod.rs +++ b/libboard_zynq/src/flash/mod.rs @@ -28,7 +28,7 @@ const INST_WRDI: u8 = 0x04; /// Instruction: Write Enable const INST_WREN: u8 = 0x06; /// Instruction: Program page -const INST_PP: u8 = 02; +const INST_PP: u8 = 0x02; /// Instruction: Sector Erase const INST_SE: u8 = 0xD8; /// Instruction: Erase 4K Block