mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-07 16:23:38 +03:00
add wait time after reset
This commit is contained in:
parent
279ee266ac
commit
93f215cb2e
@ -125,6 +125,10 @@ void EspClass::reset(void)
|
|||||||
void EspClass::restart(void)
|
void EspClass::restart(void)
|
||||||
{
|
{
|
||||||
system_restart();
|
system_restart();
|
||||||
|
delay(5000);
|
||||||
|
system_restart();
|
||||||
|
delay(20000);
|
||||||
|
reset(); // if we still have not reset force it!
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t EspClass::getVcc(void)
|
uint16_t EspClass::getVcc(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user