mirror of https://github.com/ARMmbed/mbed-os.git
[ESP8266] fixes a debug print
parent
9a3c9a30b3
commit
e9ceff2450
|
@ -506,7 +506,7 @@ int ESP8266Interface::socket_send(void *handle, const void *data, unsigned size)
|
||||||
&& (status != NSAPI_ERROR_OK));
|
&& (status != NSAPI_ERROR_OK));
|
||||||
|
|
||||||
if (status == NSAPI_ERROR_WOULD_BLOCK && socket->proto == NSAPI_TCP) {
|
if (status == NSAPI_ERROR_WOULD_BLOCK && socket->proto == NSAPI_TCP) {
|
||||||
debug("Enqueuing the event call");
|
tr_debug("ESP8266Interface::socket_send(): enqueuing the event call");
|
||||||
_global_event_queue->call_in(100, callback(this, &ESP8266Interface::event));
|
_global_event_queue->call_in(100, callback(this, &ESP8266Interface::event));
|
||||||
} else if (status == NSAPI_ERROR_WOULD_BLOCK && socket->proto == NSAPI_UDP) {
|
} else if (status == NSAPI_ERROR_WOULD_BLOCK && socket->proto == NSAPI_UDP) {
|
||||||
status = NSAPI_ERROR_DEVICE_ERROR;
|
status = NSAPI_ERROR_DEVICE_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue