Skip to content

Commit

Permalink
Remove redundant rgblight eeconfig init (qmk#22674)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and AJO-Python committed Jul 7, 2024
1 parent 48ae0de commit c327ece
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions quantum/rgblight/rgblight.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c327ece

Please sign in to comment.