From a490b77860e9c6bce0d23f063c00e8883320db7e Mon Sep 17 00:00:00 2001 From: Manuel Weiser Date: Sun, 23 Mar 2025 15:03:37 +0100 Subject: [PATCH] fix: adjust weight threshold for tare check to allow negative values --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 157a0b2..d9ead63 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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) {