mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
add missing ! for the checkFlashConfig call
This commit is contained in:
parent
02e6b2fc16
commit
8032f77476
@ -57,7 +57,7 @@ bool UpdaterClass::begin(size_t size, int command) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ESP.checkFlashConfig(false)) {
|
if(!ESP.checkFlashConfig(false)) {
|
||||||
_error = UPDATE_ERROR_FLASH_CONFIG;
|
_error = UPDATE_ERROR_FLASH_CONFIG;
|
||||||
#ifdef DEBUG_UPDATER
|
#ifdef DEBUG_UPDATER
|
||||||
printError(DEBUG_UPDATER);
|
printError(DEBUG_UPDATER);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user