Skip to content

Commit 8032f77

Browse files
committed
add missing ! for the checkFlashConfig call
1 parent 02e6b2f commit 8032f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/Updater.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ bool UpdaterClass::begin(size_t size, int command) {
5757
return false;
5858
}
5959

60-
if(ESP.checkFlashConfig(false)) {
60+
if(!ESP.checkFlashConfig(false)) {
6161
_error = UPDATE_ERROR_FLASH_CONFIG;
6262
#ifdef DEBUG_UPDATER
6363
printError(DEBUG_UPDATER);

0 commit comments

Comments
 (0)