Browse Source

Remove redundant rgblight eeconfig init (#22674)

pull/22680/head
Joel Challis 4 months ago
committed by GitHub
parent
commit
f165eb5cc9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      quantum/rgblight/rgblight.c

+ 0
- 6
quantum/rgblight/rgblight.c 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) {


Loading…
Cancel
Save