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
No known key found for this signature in database
GPG Key ID: A4A0C7B4E8EEE222
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:

View File

@ -6,7 +6,7 @@ from kmk.keys import KC
keyboard = Firmware()
keyboard.debug_enabled = True
keyboard.debug_enabled = False
keyboard.unicode_mode = UnicodeMode.LINUX
keyboard.tap_time = 750