Skip to content

Commit

Permalink
add missing ! for the checkFlashConfig call
Browse files Browse the repository at this point in the history
  • Loading branch information
Links2004 committed Dec 18, 2015
1 parent 02e6b2f commit 8032f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/esp8266/Updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8032f77

Please sign in to comment.