Fix rgblight init (#23335)

This commit is contained in:
Dasky 2024-03-24 00:20:05 +00:00 committed by GitHub
parent 38813e864b
commit d0ee4a1cb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}