There was an error while loading. Please reload this page.
1 parent 063d608 commit 5b216b6Copy full SHA for 5b216b6
libraries/Update/src/Updater.cpp
@@ -209,7 +209,7 @@ bool UpdateClass::_verifyHeader(uint8_t data) {
209
210
bool UpdateClass::_verifyEnd() {
211
if(_command == U_FLASH) {
212
- if(!_partitionIsBootable(_partition)) {
+ if(!_enablePartition || !_partitionIsBootable(_partition)) {
213
_abort(UPDATE_ERROR_READ);
214
return false;
215
}
0 commit comments