skip crc check if verify is unset

This commit is contained in:
2026-01-19 20:59:19 +00:00
parent f5488d0e4e
commit ab3ae01a0d

View File

@@ -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...");