1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

rename EspClass::eraseESPconfig to eraseConfig

This commit is contained in:
Ivan Grokhotkov 2015-06-05 08:19:47 +03:00
parent 73740d6e6d
commit becc1d32ed
2 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ struct rst_info * EspClass::getResetInfoPtr(void) {
return &resetInfo; return &resetInfo;
} }
bool EspClass::eraseESPconfig(void) { bool EspClass::eraseConfig(void) {
bool ret = true; bool ret = true;
size_t cfgAddr = (ESP.getFlashChipSize() - 0x4000); size_t cfgAddr = (ESP.getFlashChipSize() - 0x4000);
size_t cfgSize = (8*1024); size_t cfgSize = (8*1024);

View File

@ -101,7 +101,7 @@ class EspClass {
String getResetInfo(void); String getResetInfo(void);
struct rst_info * getResetInfoPtr(void); struct rst_info * getResetInfoPtr(void);
bool eraseESPconfig(void); bool eraseConfig(void);
inline uint32_t getCycleCount(void); inline uint32_t getCycleCount(void);
}; };