From e65e6e9792e8d01b3fe59600537e8416293a9e85 Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Mon, 8 Jan 2024 09:03:53 +0100 Subject: [PATCH] update after code change on master branch --- src/item.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/item.rs b/src/item.rs index e24cb60..1f3bb52 100644 --- a/src/item.rs +++ b/src/item.rs @@ -530,12 +530,7 @@ impl ItemHeaderIter { return Ok((None, self.current_address)); } Err(Error::Corrupted { .. }) => { - #[cfg(feature = "defmt")] - defmt::error!( - "Found a corrupted item header at {:X}. Skipping...", - self.current_address - ); - self.current_address += S::WORD_SIZE as u32; + self.current_address = ItemHeader::data_address::(self.current_address); } Err(e) => return Err(e), }