From 48301ade3677b6e8f1908bd078884fd5d3938a8b 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) {