From ec6ccc4412ce2127c008db8416026fd482e21a70 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Tue, 16 Aug 2022 20:49:50 +0200 Subject: [PATCH] 2fb: remove unused readServerReturn function --- ITS_Open_direct_2fb/ITS_Open_direct_2fb.ino | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/ITS_Open_direct_2fb/ITS_Open_direct_2fb.ino b/ITS_Open_direct_2fb/ITS_Open_direct_2fb.ino index 8ed7a9f..2508efa 100644 --- a/ITS_Open_direct_2fb/ITS_Open_direct_2fb.ino +++ b/ITS_Open_direct_2fb/ITS_Open_direct_2fb.ino @@ -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(); -}