mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
Remove firmware_len
This commit is contained in:
parent
2deb2c624c
commit
7e5ead78fe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user