1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

add wait time after reset

This commit is contained in:
Markus Sattler
2015-06-21 21:38:19 +02:00
parent 62c585c1c7
commit 46b53e84fe

View File

@ -125,6 +125,10 @@ void EspClass::reset(void)
void EspClass::restart(void)
{
system_restart();
delay(5000);
system_restart();
delay(20000);
reset(); // if we still have not reset force it!
}
uint16_t EspClass::getVcc(void)