fix: remove debug output from splitTextIntoLines and update weight display logic in scanRfidTask
This commit is contained in:
		| @@ -117,7 +117,6 @@ std::vector<String> splitTextIntoLines(String text, uint8_t textSize) { | ||||
|         lines.push_back(currentLine); | ||||
|     } | ||||
|      | ||||
|     Serial.println(lines.size()); | ||||
|     return lines; | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -420,7 +420,7 @@ void scanRfidTask(void * parameter) { | ||||
|         //uidString = ""; | ||||
|         nfcJsonData = ""; | ||||
|         Serial.println("Tag entfernt"); | ||||
|         oledShowWeight(0); | ||||
|         if (!autoSendToBambu) oledShowWeight(weight); | ||||
|       } | ||||
|  | ||||
|       // aktualisieren der Website wenn sich der Status ändert | ||||
|   | ||||
		Reference in New Issue
	
	Block a user