mirror of https://github.com/ARMmbed/mbed-os.git
Prevent ESP8266 stopping HW control on init
parent
ab1c2be997
commit
034c72e12c
|
@ -339,9 +339,6 @@ nsapi_error_t ESP8266Interface::_init(void)
|
||||||
if (!_esp.at_available()) {
|
if (!_esp.at_available()) {
|
||||||
return NSAPI_ERROR_DEVICE_ERROR;
|
return NSAPI_ERROR_DEVICE_ERROR;
|
||||||
}
|
}
|
||||||
if (!_esp.stop_uart_hw_flow_ctrl()) {
|
|
||||||
return NSAPI_ERROR_DEVICE_ERROR;
|
|
||||||
}
|
|
||||||
if (!_esp.reset()) {
|
if (!_esp.reset()) {
|
||||||
return NSAPI_ERROR_DEVICE_ERROR;
|
return NSAPI_ERROR_DEVICE_ERROR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue