Remove debug stuff in WiFiClientFixed
This commit is contained in:
parent
597158a038
commit
c59d0caba2
|
@ -16,8 +16,6 @@ void WiFiClientFixed::flush() {
|
|||
}
|
||||
while (a) {
|
||||
// override broken WiFiClient flush method, ref https://github.com/espressif/arduino-esp32/issues/6129#issuecomment-1237417915
|
||||
//res = recv(fd(), buf, toRead, MSG_DONTWAIT);
|
||||
Serial.println(a);
|
||||
res = read(buf, min(a, (size_t)WIFI_CLIENT_FLUSH_BUFFER_SIZE));
|
||||
if (res < 0) {
|
||||
log_e("fail on fd %d, errno: %d, \"%s\"", fd(), errno, strerror(errno));
|
||||
|
|
Loading…
Reference in a new issue