From 8032f774767dcdab874c719f2787d547fabe4d6a Mon Sep 17 00:00:00 2001 From: Markus Sattler Date: Fri, 18 Dec 2015 08:37:25 +0100 Subject: [PATCH] add missing ! for the checkFlashConfig call --- cores/esp8266/Updater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp8266/Updater.cpp b/cores/esp8266/Updater.cpp index bca2e7934..3266266c7 100644 --- a/cores/esp8266/Updater.cpp +++ b/cores/esp8266/Updater.cpp @@ -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);