diff --git a/libraries/Update/src/Updater.cpp b/libraries/Update/src/Updater.cpp index 7f9b4c57..b8905bc8 100644 --- a/libraries/Update/src/Updater.cpp +++ b/libraries/Update/src/Updater.cpp @@ -209,7 +209,7 @@ bool UpdateClass::_verifyHeader(uint8_t data) { bool UpdateClass::_verifyEnd() { if(_command == U_FLASH) { - if(!_partitionIsBootable(_partition)) { + if(!_enablePartition || !_partitionIsBootable(_partition)) { _abort(UPDATE_ERROR_READ); return false; }