1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

correct addr

This commit is contained in:
Markus Sattler 2015-05-25 13:13:05 +02:00
parent 5852c484ca
commit 5a19cc24bf

View File

@ -297,7 +297,7 @@ struct rst_info * EspClass::getResetInfoPtr(void) {
bool EspClass::eraseESPconfig(void) { bool EspClass::eraseESPconfig(void) {
bool ret = true; bool ret = true;
size_t cfgAddr = (ESP.getFlashChipSize() - 0x3000); size_t cfgAddr = (ESP.getFlashChipSize() - 0x4000);
size_t cfgSize = (8*1024); size_t cfgSize = (8*1024);
noInterrupts(); noInterrupts();