fix: adjust tare weight tolerance to ignore deviations of 2g
This commit is contained in:
parent
9ed3c70c01
commit
012f91851e
@ -180,7 +180,8 @@ void loop() {
|
|||||||
lastWeightReadTime = currentMillis;
|
lastWeightReadTime = currentMillis;
|
||||||
|
|
||||||
// Prüfen ob die Waage korrekt genullt ist
|
// Prüfen ob die Waage korrekt genullt ist
|
||||||
if (autoTare && (weight > 0 && weight < 5) || weight < 0)
|
// Abweichung von 2g ignorieren
|
||||||
|
if (autoTare && (weight > 2 && weight < 7) || weight < -2)
|
||||||
{
|
{
|
||||||
scale_tare_counter++;
|
scale_tare_counter++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user