gropi75 / SEM32

SEM32 (Solar Energy Manager 32) based on ESP32 for Soyosource Inverter, Huawei r4850g2 power supply and 48V battery
MIT License
11 stars 3 forks source link

Error Message WiFiClient::flush() #14

Open barakuda21 opened 1 year ago

barakuda21 commented 1 year ago

Substitude in WiFiClient.cpp the WiFiClient::flush() function new function see below after replacing no more error message Source: https://github.com/espressif/arduino-esp32/issues/4736

Path: C:/Users/uli/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.cpp \

new Function: void WiFiClient::flush() { if(available()){ while(read() >= 0) {}; } }