fix clippy warnings #57

Merged
rhetenor merged 6 commits from rhetenor/errorview-show-error-in-nfc-module AGit into main 2026-08-30 11:26:49 +02:00
Showing only changes of commit ccf16522bb - Show all commits
+4 -1
View File
@@ -75,7 +75,10 @@ impl FlashStore {
bytes.len()
);
let mut lock = self.storage.lock().await;
lock.erase(FLASH_ADDR + offset, FLASH_ADDR + bytes.len() as u32)?;
lock.erase(
FLASH_ADDR + offset,
FLASH_ADDR + offset + bytes.len() as u32,
)?;
lock.write(FLASH_ADDR + offset, bytes)?;
Ok(())
}