Remove firmware_len
This commit is contained in:
parent
2deb2c624c
commit
7e5ead78fe
@ -72,11 +72,6 @@ impl FirmwareUpdater {
|
|||||||
Self { dfu, state }
|
Self { dfu, state }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return the length of the DFU area
|
|
||||||
pub fn firmware_len(&self) -> usize {
|
|
||||||
self.dfu.len()
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Obtain the current state.
|
/// Obtain the current state.
|
||||||
///
|
///
|
||||||
/// This is useful to check if the bootloader has just done a swap, in order
|
/// This is useful to check if the bootloader has just done a swap, in order
|
||||||
|
Loading…
Reference in New Issue
Block a user