From 838263d40993da1df41ab9051538f82daecb12ab Mon Sep 17 00:00:00 2001 From: Matthew Hendrix Date: Thu, 11 Aug 2022 08:27:14 -0400 Subject: [PATCH] Add report_updated check --- boards/Pico87/main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/boards/Pico87/main.py b/boards/Pico87/main.py index 6032ecf..26e20f0 100644 --- a/boards/Pico87/main.py +++ b/boards/Pico87/main.py @@ -25,10 +25,8 @@ class LEDLockStatus(LockStatus): def after_hid_send(self, sandbox): super().after_hid_send(sandbox) # Critically important. Removing this will break lock status. - # Once https://github.com/KMKfw/kmk_firmware/pull/553 patches, - # add a check for `self.report_updated` - # if self.report_updated: - self.set_lock_leds() + if self.report_updated: + self.set_lock_leds() Pico87.modules.append(Layers())