Merge pull request #9290 from SeppoTakalo/esp_reset_timeout

ESP8266: Set HW reset time to 2ms
pull/9302/head
Cruz Monrreal 2019-01-09 13:46:45 -06:00 committed by GitHub
commit cd03eaf9d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ void ESP8266Interface::_hw_reset()
_rst_pin.rst_assert();
// If you happen to use Pin7 CH_EN as reset pin, not needed otherwise
// https://www.espressif.com/sites/default/files/documentation/esp8266_hardware_design_guidelines_en.pdf
wait_us(200);
wait_ms(2); // Documentation says 200 us should have been enough, but experimentation shows that 1ms was not enough
_rst_pin.rst_deassert();
}