diff --git a/libraries/Update/src/Updater.cpp b/libraries/Update/src/Updater.cpp index f5f6992db5a..4be13b9d1ed 100644 --- a/libraries/Update/src/Updater.cpp +++ b/libraries/Update/src/Updater.cpp @@ -524,9 +524,11 @@ size_t UpdateClass::writeStream(Stream &data) { return 0; } - if (!_verifyHeader(data.peek())) { - _reset(); - return 0; + if (_command == U_FLASH && !_cryptMode) { + if (!_verifyHeader(data.peek())) { + _reset(); + return 0; + } } if (_ledPin != -1) {