1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-16 22:05:12 +00:00

fix(sweep): extend timer stable

This commit is contained in:
YoursFunny 2023-11-24 13:59:39 +08:00
parent f2065507c2
commit 86ce04cff9
Signed by: YoursFunny
GPG Key ID: 207EDC3CD5B40F9C

View File

@ -204,7 +204,7 @@ class StageSweep:
if not self.set_mode(mode, num): if not self.set_mode(mode, num):
return False return False
timer = Timer(0.5, 1) timer = Timer(0.5, 1)
timer_stable = Timer(0.5, 1).start() timer_stable = Timer(1, 1).start()
status = SweepStatus.SELECT status = SweepStatus.SELECT
while 1: while 1:
if not timer_stable.reached(): if not timer_stable.reached():