Disable GC on every cycle, too much lag

This commit is contained in:
Josh Klar
2019-07-12 16:54:38 -07:00
parent 17094a2988
commit 350c2438ad
2 changed files with 1 additions and 5 deletions

View File

@@ -289,10 +289,6 @@ class Firmware:
self._print_debug_cycle(init=True)
while True:
# Generally speaking, the less stuff GC has to clean out,
# the faster it'll run. Start every cycle with a clean
# garbage bin to avoid random hiccups during keypress handling
gc.collect()
state_changed = False
if self.split_type is not None and self.is_master: