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:
parent
73740d6e6d
commit
becc1d32ed
@ -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);
|
||||||
|
@ -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);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user