mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #9290 from SeppoTakalo/esp_reset_timeout
ESP8266: Set HW reset time to 2mspull/9302/head
commit
cd03eaf9d3
|
|
@ -371,7 +371,7 @@ void ESP8266Interface::_hw_reset()
|
||||||
_rst_pin.rst_assert();
|
_rst_pin.rst_assert();
|
||||||
// If you happen to use Pin7 CH_EN as reset pin, not needed otherwise
|
// 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
|
// 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();
|
_rst_pin.rst_deassert();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue