Skip to content

Commit

Permalink
make watchdog self-contained
Browse files Browse the repository at this point in the history
  • Loading branch information
regicidalplutophage committed Dec 18, 2024
1 parent eaa0c03 commit fa5b323
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions kmk/hid.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def __init__(self, **kwargs):
self.test_nkro()
self.test_mouse()

self.start_watchdog()

def find_devices(self):
self.devices = {}

Expand Down
1 change: 0 additions & 1 deletion kmk/kmk_keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ def _init_hid(self) -> None:
else:
self._hid_helper = AbstractHID
self._hid_helper = self._hid_helper(**self._go_args)
self._hid_helper.start_watchdog()
self._hid_send_enabled = True

if debug.enabled:
Expand Down

0 comments on commit fa5b323

Please sign in to comment.