1
0
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:
Markus Sattler 2015-12-18 08:37:25 +01:00
parent 02e6b2fc16
commit 8032f77476

View File

@ -57,7 +57,7 @@ bool UpdaterClass::begin(size_t size, int command) {
return false;
}
if(ESP.checkFlashConfig(false)) {
if(!ESP.checkFlashConfig(false)) {
_error = UPDATE_ERROR_FLASH_CONFIG;
#ifdef DEBUG_UPDATER
printError(DEBUG_UPDATER);