Remove firmware_len

This commit is contained in:
Rasmus Melchior Jacobsen 2023-04-05 08:28:46 +02:00
parent 2deb2c624c
commit 7e5ead78fe

View File

@ -72,11 +72,6 @@ impl FirmwareUpdater {
Self { dfu, state }
}
/// Return the length of the DFU area
pub fn firmware_len(&self) -> usize {
self.dfu.len()
}
/// Obtain the current state.
///
/// This is useful to check if the bootloader has just done a swap, in order