From badf36eff9afc67b9467cdd626cdb7e8247aa083 Mon Sep 17 00:00:00 2001 From: "Adrian A. Baumann" Date: Sat, 11 Apr 2026 00:13:51 +0200 Subject: [PATCH] Speed increase test --- gaugemqttcontinuous.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gaugemqttcontinuous.py b/gaugemqttcontinuous.py index 24602a4..842f510 100644 --- a/gaugemqttcontinuous.py +++ b/gaugemqttcontinuous.py @@ -750,9 +750,7 @@ def main(): if current_target != g._current_step: direction = 1 if current_target > g._current_step else -1 steps_to_move = current_target - g._current_step - steps_to_move = max( - -10, min(10, steps_to_move) - ) # move up to 10 steps at a time + steps_to_move = max(-5, min(5, steps_to_move)) for _ in range(abs(steps_to_move)): g.step(direction) moved_any = True