From f502132139213e9f79ad45c802dfaf48602c9dfd Mon Sep 17 00:00:00 2001 From: Lotte Steenbrink Date: Mon, 22 Jun 2020 22:54:47 +0200 Subject: [PATCH] =?UTF-8?q?respond=20to=20jorges=20reviw=E2=80=93=20fix=20?= =?UTF-8?q?off=20by=20one=20err?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/dk-run/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dk-run/src/main.rs b/tools/dk-run/src/main.rs index a53e38b..005809a 100644 --- a/tools/dk-run/src/main.rs +++ b/tools/dk-run/src/main.rs @@ -197,7 +197,7 @@ fn notmain() -> Result { Err(probe_rs_rtt::Error::ControlBlockNotFound); const NUM_RETRIES: usize = 3; // picked at random, increase if necessary - for try_index in 0..NUM_RETRIES { + for try_index in 0..=NUM_RETRIES { rtt_res = Rtt::attach_region(core.clone(), &sess, &ScanRegion::Exact(rtt_addr_res)); match rtt_res { Ok(_) => {