Skip to content

Commit 2d4c35b

Browse files
labbottmkeeter
andauthored
Update drv/cosmo-hf/src/main.rs
Co-authored-by: Matt Keeter <[email protected]>
1 parent 05e45c5 commit 2d4c35b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drv/cosmo-hf/src/main.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,6 @@ impl FlashDriver {
350350

351351
/// Writes data from a slice into the flash
352352
///
353-
/// This function will only return an error if the slice len is greater than
354-
/// a page
355353
fn flash_write(&mut self, addr: FlashAddr, data: &[u8]) {
356354
// Don't bother writing erased pages
357355
if data.iter().all(|x| *x == 0xff) {

0 commit comments

Comments
 (0)