From 7e5ead78fed6b9c352852f2619c523f20e7b7fb7 Mon Sep 17 00:00:00 2001 From: Rasmus Melchior Jacobsen Date: Wed, 5 Apr 2023 08:28:46 +0200 Subject: [PATCH] Remove firmware_len --- embassy-boot/boot/src/firmware_updater.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/embassy-boot/boot/src/firmware_updater.rs b/embassy-boot/boot/src/firmware_updater.rs index 93d4a4c1..61c902ed 100644 --- a/embassy-boot/boot/src/firmware_updater.rs +++ b/embassy-boot/boot/src/firmware_updater.rs @@ -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