1
0
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:
Markus Sattler 2015-06-21 21:38:19 +02:00
parent 279ee266ac
commit 93f215cb2e

View File

@ -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)