Skip to content

Commit 5b216b6

Browse files
committed
Updater was missing enablePartition
1 parent 063d608 commit 5b216b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎libraries/Update/src/Updater.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ bool UpdateClass::_verifyHeader(uint8_t data){
209209

210210
boolUpdateClass::_verifyEnd(){
211211
if(_command == U_FLASH){
212-
if(!_partitionIsBootable(_partition)){
212+
if(!_enablePartition || !_partitionIsBootable(_partition)){
213213
_abort(UPDATE_ERROR_READ);
214214
returnfalse;
215215
}

0 commit comments

Comments
(0)