aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-boot/boot/src/firmware_updater.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/embassy-boot/boot/src/firmware_updater.rs b/embassy-boot/boot/src/firmware_updater.rs
index 93d4a4c12..61c902ed0 100644
--- a/embassy-boot/boot/src/firmware_updater.rs
+++ b/embassy-boot/boot/src/firmware_updater.rs
@@ -72,11 +72,6 @@ impl FirmwareUpdater {
72 Self { dfu, state } 72 Self { dfu, state }
73 } 73 }
74 74
75 /// Return the length of the DFU area
76 pub fn firmware_len(&self) -> usize {
77 self.dfu.len()
78 }
79
80 /// Obtain the current state. 75 /// Obtain the current state.
81 /// 76 ///
82 /// This is useful to check if the bootloader has just done a swap, in order 77 /// This is useful to check if the bootloader has just done a swap, in order