diff options
author | Jesse Vincent <jesse@fsck.com> | 2019-01-20 09:46:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-20 09:46:34 -0800 |
commit | f3f687ed63e7110ef6c6ee2e8926a3020992cbf7 (patch) | |
tree | 8b655da8f0691944a550fbe25b9b5414e57e5d61 | |
parent | cf6234b77e96d02fb97d4d32f4edea94bdc46e09 (diff) | |
parent | 0095044dd4af6e2fb3be5e60ffe648c4cb9b94d5 (diff) | |
download | Model01-Firmware-f3f687ed63e7110ef6c6ee2e8926a3020992cbf7.tar.gz Model01-Firmware-f3f687ed63e7110ef6c6ee2e8926a3020992cbf7.zip |
Merge pull request #76 from keyboardio/suspend-ledoff-fix
Fix turning LEDs off on suspend
-rw-r--r-- | Model01-Firmware.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index 58b3ebe..0178726 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -355,9 +355,9 @@ static kaleidoscope::plugin::LEDSolidColor solidViolet(130, 0, 120); void toggleLedsOnSuspendResume(kaleidoscope::plugin::HostPowerManagement::Event event) { switch (event) { case kaleidoscope::plugin::HostPowerManagement::Suspend: - LEDControl.paused = true; LEDControl.set_all_leds_to({0, 0, 0}); LEDControl.syncLeds(); + LEDControl.paused = true; break; case kaleidoscope::plugin::HostPowerManagement::Resume: LEDControl.paused = false; |