mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 00:16:41 +06:00
Fix rgblight init (#23335)
This commit is contained in:
parent
38813e864b
commit
d0ee4a1cb2
|
@ -243,12 +243,12 @@ void rgblight_init(void) {
|
|||
|
||||
rgblight_timer_init(); // setup the timer
|
||||
|
||||
rgblight_driver.init();
|
||||
|
||||
if (rgblight_config.enable) {
|
||||
rgblight_mode_noeeprom(rgblight_config.mode);
|
||||
}
|
||||
|
||||
rgblight_driver.init();
|
||||
|
||||
is_rgblight_initialized = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user