Remove debug stuff in WiFiClientFixed

This commit is contained in:
Laura Hausmann 2023-02-09 00:34:26 +01:00
parent 597158a038
commit c59d0caba2
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -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));