fix: adjust weight threshold for tare check to allow negative values

This commit is contained in:
Manuel Weiser committed 2025-03-23 15:03:37 +01:00
1 parent 52d063b619
commit a490b77860
1 file changed
+1 -1
+1 -1
View File
@@ -159,7 +159,7 @@ void loop() {
lastWeightReadTime = currentMillis;
// Prüfen ob die Waage korrekt genullt ist
if ((weight > 0 && weight < 5) || weight < 0)
if ((weight > 0 && weight < 5) || weight < -1)
{
if(scaleTareCounter < 5)
{