From 01f4a936df41982e6a6110689f0bb0f6ad80cd07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kope=C4=87?= Date: Mon, 28 Oct 2024 11:42:24 +0100 Subject: [PATCH] [HACK] Skip assert on EC ID mismatch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Kopeć --- examples/isp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/isp.rs b/examples/isp.rs index f638416..29354e5 100644 --- a/examples/isp.rs +++ b/examples/isp.rs @@ -842,7 +842,7 @@ fn isp(internal: bool, file: &str) -> Result<()> { let ecid = ((id[0] as u16) << 8) | (id[1] as u16); eprintln!("ID: {:04X} VER: {}", ecid, id[2]); - assert!(EC_KNOWN_IDS.contains(&ecid), "Unknown ID: {:04X}", ecid); + //assert!(EC_KNOWN_IDS.contains(&ecid), "Unknown ID: {:04X}", ecid); isp_inner(&mut port, &firmware) }