eculocate

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit ab3ae01a0d54874b77b197e89b0c715b89a7608d
parent f5488d0e4eeb434c4524bbea973cb91676154260
Author: Daniel Barlow <dan@telent.net>
Date:   Mon, 19 Jan 2026 20:59:19 +0000

skip crc check if verify is unset

Diffstat:
Mvendor/esp-hal-ota/src/lib.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vendor/esp-hal-ota/src/lib.rs b/vendor/esp-hal-ota/src/lib.rs @@ -220,7 +220,7 @@ where let progress = self.progress.clone().ok_or(OtaError::OtaNotStarted)?; - if progress.target_crc != progress.last_crc { + if verify && progress.target_crc != progress.last_crc { warn!("[OTA] Calculated crc: {}", progress.last_crc); warn!("[OTA] Target crc: {}", progress.target_crc); error!("[OTA] Crc check failed! Cant finish ota update...");