From 33ea062773549b8a7bd4b7105e05c467e8ae00f0 Mon Sep 17 00:00:00 2001 From: Manuel Weiser Date: Thu, 28 Aug 2025 11:04:06 +0200 Subject: [PATCH] refactor: remove debug logging from checkSpoolmanInstance function --- src/api.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/api.cpp b/src/api.cpp index 2adcec1..c5e6c8c 100644 --- a/src/api.cpp +++ b/src/api.cpp @@ -685,8 +685,6 @@ bool checkSpoolmanInstance() { if (!error && doc["status"].is()) { const char* status = doc["status"]; http.end(); - Serial.print("Spoolman status: "); - Serial.println(status); if (!checkSpoolmanExtraFields()) { Serial.println("Fehler beim Überprüfen der Extrafelder."); @@ -702,8 +700,6 @@ bool checkSpoolmanInstance() { oledShowTopRow(); spoolmanConnected = true; returnValue = strcmp(status, "healthy") == 0; - Serial.print("Spoolman instance is healthy: "); - Serial.println(returnValue); }else{ spoolmanConnected = false; } @@ -717,7 +713,6 @@ bool checkSpoolmanInstance() { Serial.println("Error contacting spoolman instance! HTTP Code: " + String(httpCode)); } http.end(); - returnValue = false; spoolmanApiState = API_IDLE; }else{ // If the check is skipped, return the previous status