Skip to content

Commit bf60ca7

Browse files
committed
Fix enable Update partition (only)
1 parent c2f83f4 commit bf60ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Update/src/Updater.cpp

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

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

0 commit comments

Comments
 (0)