We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05e45c5 commit 2d4c35bCopy full SHA for 2d4c35b
drv/cosmo-hf/src/main.rs
@@ -350,8 +350,6 @@ impl FlashDriver {
350
351
/// Writes data from a slice into the flash
352
///
353
- /// This function will only return an error if the slice len is greater than
354
- /// a page
355
fn flash_write(&mut self, addr: FlashAddr, data: &[u8]) {
356
// Don't bother writing erased pages
357
if data.iter().all(|x| *x == 0xff) {
0 commit comments