Fix wake from suspend LED functionality
When waking from suspend, only enable the LED drivers if they were not previously set to disabled by the user. This functionality was removed by the recent updates to adapt Massdrop keyboards to QMK RGB Matrix. Affects Massdrop CTRL and ALT keyboards compiled using Massdrop Configurator mode.master
parent
0511b522e0
commit
3542f594d9
|
@ -78,7 +78,13 @@ void suspend_wakeup_init_kb(void) {
|
||||||
*/
|
*/
|
||||||
void suspend_wakeup_init(void) {
|
void suspend_wakeup_init(void) {
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
#ifdef USE_MASSDROP_CONFIGURATOR
|
||||||
|
if (led_enabled) {
|
||||||
I2C3733_Control_Set(1);
|
I2C3733_Control_Set(1);
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
I2C3733_Control_Set(1);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
suspend_wakeup_init_kb();
|
suspend_wakeup_init_kb();
|
||||||
|
|
Loading…
Reference in New Issue