From e4e7141bf353eed6f6d968300d7cf4ff4ce43e29 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 6 Jul 2020 19:46:18 +0200 Subject: [PATCH] ddr: delint --- libboard_zynq/src/ddr/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libboard_zynq/src/ddr/mod.rs b/libboard_zynq/src/ddr/mod.rs index 51b20d7..b8ff935 100644 --- a/libboard_zynq/src/ddr/mod.rs +++ b/libboard_zynq/src/ddr/mod.rs @@ -316,7 +316,7 @@ impl DdrRam { for megabyte in 0..slice.len() / (1024 * 1024) { let start = megabyte * 1024 * 1024 / 4; - let end = ((megabyte + 1) * 1024 * 1024 / 4); + let end = (megabyte + 1) * 1024 * 1024 / 4; for b in slice[start..end].iter_mut() { expected.map(|expected| { let read: u32 = *b;