1
0
Fork 0
forked from forks/qmk_firmware

Remove redundant rgblight eeconfig init (#22674)

This commit is contained in:
Joel Challis 2023-12-16 15:43:53 +00:00 committed by GitHub
parent dc5befd139
commit f165eb5cc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,13 +229,7 @@ void rgblight_init(void) {
return;
}
dprintf("rgblight_init called.\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_SPLIT_SET_CHANGE_MODEHSVS;
if (!rgblight_config.mode) {