fix: remove debug output from splitTextIntoLines and update weight display logic in scanRfidTask
This commit is contained in:
parent
0af14e2f7d
commit
1ade007473
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user