diff --git a/cores/esp8266/Esp.cpp b/cores/esp8266/Esp.cpp index bf012afd5..946a8b375 100644 --- a/cores/esp8266/Esp.cpp +++ b/cores/esp8266/Esp.cpp @@ -297,7 +297,7 @@ struct rst_info * EspClass::getResetInfoPtr(void) { bool EspClass::eraseESPconfig(void) { bool ret = true; - size_t cfgAddr = (ESP.getFlashChipSize() - 0x3000); + size_t cfgAddr = (ESP.getFlashChipSize() - 0x4000); size_t cfgSize = (8*1024); noInterrupts();