2fb: remove unused readServerReturn function

This commit is contained in:
Xiretza 2022-08-16 20:49:50 +02:00
parent b40fb5fe09
commit ec6ccc4412

View file

@ -381,24 +381,3 @@ void loop() {
readButtons();
launchUpdate();
}
// This just reads the server return and logs it to the serial
//@deprecated
void readServerReturn() {
// if(debug){Serial.println("readServerReturn ... ");}
while (client.connected()) {
if (client.available()) {
char c = client.read();
if (debug) {
Serial.print(c);
}
}
}
if (debug) {
Serial.println();
}
if (debug) {
Serial.println("disconnecting.");
}
client.stop();
}