From 22d0ee59257f706c8c3887e5ca7c551691674146 Mon Sep 17 00:00:00 2001 From: Tres Popp Date: Sat, 22 Feb 2025 17:13:36 +0100 Subject: [PATCH] Lower usb check frequency This means that the controller might take a few seconds to detect the lightbar but prevents the case of pygame permanently freezing due to excessive pinging. --- controller/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/main.py b/controller/main.py index 59e7b1e..da60fed 100644 --- a/controller/main.py +++ b/controller/main.py @@ -430,7 +430,7 @@ def config_mode(self): self.mode = 'config' # no need to disable action timer, since it is a one-shot-timer # enable periodic prob