From eb41d704b05cb020700d88408384343c58ffbe78 Mon Sep 17 00:00:00 2001 From: Josh Klar Date: Sat, 19 Jun 2021 19:19:03 -0700 Subject: [PATCH] fix(split): do not attempt to send HID from slave sides of split boards, resolves infinite hang after single UART send --- kmk/modules/split.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kmk/modules/split.py b/kmk/modules/split.py index 818fdaa..960343b 100644 --- a/kmk/modules/split.py +++ b/kmk/modules/split.py @@ -154,6 +154,9 @@ class Split(Module): return def before_hid_send(self, keyboard): + if not self._is_target: + keyboard.hid_pending = False + return def after_hid_send(self, keyboard):