]> git.donarmstrong.com Git - qmk_firmware.git/commit
Fix RGBLIGHT_SLEEP function (#4865)
authorDrashna Jaelre <drashna@live.com>
Sat, 26 Jan 2019 01:11:49 +0000 (17:11 -0800)
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>
Sat, 26 Jan 2019 01:11:49 +0000 (17:11 -0800)
commit7aba1fd1767ecd7df25323c51332c7af986a3805
tree363e16900c11b4cd1e37c423f87db63c779b482b
parent569ed9db9da5cdc4fc78584b51a66c7689d79806
Fix RGBLIGHT_SLEEP function (#4865)

* Only re-enable RGBLIGHT if it was on when going to sleep

* Reformat file to follow QMK Standards

* Fix check, since this is a loop, whoops

Much thanks to @Rockman18 for catching this and posting the additional code!
tmk_core/common/avr/suspend.c