Skip to content

Commit cd03eaf

Browse files
author
Cruz Monrreal
authored
Merge pull request #9290 from SeppoTakalo/esp_reset_timeout
ESP8266: Set HW reset time to 2ms
2 parents a53b174 + 8bf3ce3 commit cd03eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/wifi/esp8266-driver/ESP8266Interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ void ESP8266Interface::_hw_reset()
371371
_rst_pin.rst_assert();
372372
// If you happen to use Pin7 CH_EN as reset pin, not needed otherwise
373373
// https://www.espressif.com/sites/default/files/documentation/esp8266_hardware_design_guidelines_en.pdf
374-
wait_us(200);
374+
wait_ms(2); // Documentation says 200 us should have been enough, but experimentation shows that 1ms was not enough
375375
_rst_pin.rst_deassert();
376376
}
377377

0 commit comments

Comments
 (0)