1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

add error reason to WiFiClient debug

handle tcp_close error in unref()
This commit is contained in:
Markus Sattler
2015-04-02 18:57:28 +02:00
parent fb286ff1d4
commit 53dbeeb0aa
2 changed files with 8 additions and 3 deletions

View File

@ -136,7 +136,7 @@ int8_t ICACHE_FLASH_ATTR WiFiClient::_connected(void* pcb, int8_t err)
void ICACHE_FLASH_ATTR WiFiClient::_err(int8_t err)
{
DEBUGV(":err\r\n");
DEBUGV(":err %d\r\n", err);
esp_schedule();
}