Skip to content

Commit

Permalink
Fix defmt message typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelj committed Jul 26, 2024
1 parent 46a39fd commit 1d5ffda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions embedded-fatfs/src/dir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ impl LongNameBuilder {
let index = data.order() & 0x1F;
if index == 0 || usize::from(index) > MAX_LONG_DIR_ENTRIES {
// Corrupted entry
warn!("currupted lfn entry! {:x}", data.order());
warn!("corrupted lfn entry! {:x}", data.order());
self.clear();
return;
}
Expand All @@ -1020,7 +1020,7 @@ impl LongNameBuilder {
} else if self.index == 0 || index != self.index - 1 || data.checksum() != self.chksum {
// Corrupted entry
warn!(
"currupted lfn entry! {:x} {:x} {:x} {:x}",
"corrupted lfn entry! {:x} {:x} {:x} {:x}",
data.order(),
self.index,
data.checksum(),
Expand Down

0 comments on commit 1d5ffda

Please sign in to comment.