2fb: remove unused readServerReturn function
This commit is contained in:
parent
b40fb5fe09
commit
ec6ccc4412
1 changed files with 0 additions and 21 deletions
|
@ -381,24 +381,3 @@ void loop() {
|
||||||
readButtons();
|
readButtons();
|
||||||
launchUpdate();
|
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();
|
|
||||||
}
|
|
||||||
|
|
Reference in a new issue