mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-03-13 06:54:08 +00:00
Remove redundant rgblight eeconfig init (#22674)
This commit is contained in:
parent
dc5befd139
commit
f165eb5cc9
@ -229,13 +229,7 @@ void rgblight_init(void) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
dprintf("rgblight_init called.\n");
|
|
||||||
dprintf("rgblight_init start!\n");
|
dprintf("rgblight_init start!\n");
|
||||||
if (!eeconfig_is_enabled()) {
|
|
||||||
dprintf("rgblight_init eeconfig is not enabled.\n");
|
|
||||||
eeconfig_init();
|
|
||||||
eeconfig_update_rgblight_default();
|
|
||||||
}
|
|
||||||
rgblight_config.raw = eeconfig_read_rgblight();
|
rgblight_config.raw = eeconfig_read_rgblight();
|
||||||
RGBLIGHT_SPLIT_SET_CHANGE_MODEHSVS;
|
RGBLIGHT_SPLIT_SET_CHANGE_MODEHSVS;
|
||||||
if (!rgblight_config.mode) {
|
if (!rgblight_config.mode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user