aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot
diff options
context:
space:
mode:
authorRasmus Melchior Jacobsen <[email protected]>2023-04-05 08:28:46 +0200
committerRasmus Melchior Jacobsen <[email protected]>2023-04-05 08:28:46 +0200
commit7e5ead78fed6b9c352852f2619c523f20e7b7fb7 (patch)
treeb0880729d14bf5d66daf4d9b6e821279bdbb99ed /embassy-boot
parent2deb2c624c78f4ff582441d7d00a654ac3844e33 (diff)
Remove firmware_len
Diffstat (limited to 'embassy-boot')
-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