fix: remove debug output from splitTextIntoLines and update weight display logic in scanRfidTask

This commit is contained in:
Manuel Weiser 2025-02-24 19:14:45 +01:00
parent 0af14e2f7d
commit 1ade007473
2 changed files with 1 additions and 2 deletions

View File

@ -117,7 +117,6 @@ std::vector<String> splitTextIntoLines(String text, uint8_t textSize) {
lines.push_back(currentLine); lines.push_back(currentLine);
} }
Serial.println(lines.size());
return lines; return lines;
} }

View File

@ -420,7 +420,7 @@ void scanRfidTask(void * parameter) {
//uidString = ""; //uidString = "";
nfcJsonData = ""; nfcJsonData = "";
Serial.println("Tag entfernt"); Serial.println("Tag entfernt");
oledShowWeight(0); if (!autoSendToBambu) oledShowWeight(weight);
} }
// aktualisieren der Website wenn sich der Status ändert // aktualisieren der Website wenn sich der Status ändert