Skip to content

Commit

Permalink
update after code change on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Jan 8, 2024
1 parent 6ae7b09 commit e65e6e9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<S>(self.current_address);
}
Err(e) => return Err(e),
}
Expand Down

0 comments on commit e65e6e9

Please sign in to comment.