From fc5d77c97b53fcf477caa446aa219de5e56915a4 Mon Sep 17 00:00:00 2001 From: tugsi Date: Mon, 24 Mar 2025 16:54:36 +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 07e8cc9..8278fb2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -156,7 +156,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) {