Skip to content

Commit

Permalink
Add MultiwriteNorFlash trait to FlashStorage
Browse files Browse the repository at this point in the history
  • Loading branch information
yanshay committed Nov 7, 2024
1 parent 8782429 commit d0e2d9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions esp-storage/src/nor_flash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use core::mem::MaybeUninit;

use embedded_storage::nor_flash::{
ErrorType,
MultiwriteNorFlash,
NorFlash,
NorFlashError,
NorFlashErrorKind,
Expand Down Expand Up @@ -203,6 +204,8 @@ impl NorFlash for FlashStorage {
}
}

impl MultiwriteNorFlash for FlashStorage {}

#[cfg(test)]
mod test {
use core::mem::MaybeUninit;
Expand Down

0 comments on commit d0e2d9d

Please sign in to comment.