|
|
@ -306,9 +306,9 @@ void rgblight_disable(void) {
|
|
|
|
rgblight_config.enable = 0;
|
|
|
|
rgblight_config.enable = 0;
|
|
|
|
eeconfig_update_rgblight(rgblight_config.raw);
|
|
|
|
eeconfig_update_rgblight(rgblight_config.raw);
|
|
|
|
xprintf("rgblight disable [EEPROM]: rgblight_config.enable = %u\n", rgblight_config.enable);
|
|
|
|
xprintf("rgblight disable [EEPROM]: rgblight_config.enable = %u\n", rgblight_config.enable);
|
|
|
|
#ifdef RGBLIGHT_ANIMATIONS
|
|
|
|
#ifdef RGBLIGHT_USE_TIMER
|
|
|
|
rgblight_timer_disable();
|
|
|
|
rgblight_timer_disable();
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
wait_ms(50);
|
|
|
|
wait_ms(50);
|
|
|
|
rgblight_set();
|
|
|
|
rgblight_set();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -318,7 +318,7 @@ void rgblight_disable_noeeprom(void) {
|
|
|
|
xprintf("rgblight disable [noEEPROM]: rgblight_config.enable = %u\n", rgblight_config.enable);
|
|
|
|
xprintf("rgblight disable [noEEPROM]: rgblight_config.enable = %u\n", rgblight_config.enable);
|
|
|
|
#ifdef RGBLIGHT_USE_TIMER
|
|
|
|
#ifdef RGBLIGHT_USE_TIMER
|
|
|
|
rgblight_timer_disable();
|
|
|
|
rgblight_timer_disable();
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
wait_ms(50);
|
|
|
|
wait_ms(50);
|
|
|
|
rgblight_set();
|
|
|
|
rgblight_set();
|
|
|
|
}
|
|
|
|
}
|
|
|
|