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

This commit is contained in:
Manuel Weiser 2025-03-23 15:03:37 +01:00
parent 76e0b20393
commit 48301ade36

View File

@ -159,7 +159,7 @@ void loop() {
lastWeightReadTime = currentMillis; lastWeightReadTime = currentMillis;
// Prüfen ob die Waage korrekt genullt ist // 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) if(scaleTareCounter < 5)
{ {