mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-06 07:16:32 +02:00
Updater was missing enablePartition
This commit is contained in:
@ -209,7 +209,7 @@ bool UpdateClass::_verifyHeader(uint8_t data) {
|
|||||||
|
|
||||||
bool UpdateClass::_verifyEnd() {
|
bool UpdateClass::_verifyEnd() {
|
||||||
if(_command == U_FLASH) {
|
if(_command == U_FLASH) {
|
||||||
if(!_partitionIsBootable(_partition)) {
|
if(!_enablePartition || !_partitionIsBootable(_partition)) {
|
||||||
_abort(UPDATE_ERROR_READ);
|
_abort(UPDATE_ERROR_READ);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user