fix: adjust weight threshold for tare check to allow negative values
This commit is contained in:
parent
76e0b20393
commit
48301ade36
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user