power integrated fully, and guarded against i2c locks
power integrated fully, and guarded against i2c locks led update touchup
This commit is contained in:
1 parent
34b808efb7
commit
8a166ac91f
14 files changed
+164
-64
No files matched your search
@@ -168,6 +168,12 @@ class RGB(Extension):
|
||||
|
||||
return keyboard
|
||||
|
||||
def on_powersave_enable(self, keyboard):
|
||||
return
|
||||
|
||||
def on_powersave_disable(self, keyboard):
|
||||
self._do_update()
|
||||
|
||||
@staticmethod
|
||||
def time_ms():
|
||||
return int(time.monotonic() * 1000)
|
||||
@@ -590,4 +596,4 @@ class RGB(Extension):
|
||||
self.val = self.val_default
|
||||
if self.animation_mode == AnimationModes.STATIC_STANDBY:
|
||||
self.animation_mode = AnimationModes.STATIC
|
||||
self._do_update()
|
||||
self._do_update()
|
||||
Reference in new issue
Block a user