Browse Source

Fix rgblight init (#23335)

pull/23345/head
Dasky 1 month ago
committed by GitHub
parent
commit
d0ee4a1cb2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      quantum/rgblight/rgblight.c

+ 3
- 3
quantum/rgblight/rgblight.c 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;
}
@ -1568,4 +1568,4 @@ uint8_t rgblight_velocikey_match_speed(uint8_t minValue, uint8_t maxValue) {
return MAX(minValue, maxValue - (maxValue - minValue) * ((float)typing_speed / TYPING_SPEED_MAX_VALUE));
}
#endif
#endif

Loading…
Cancel
Save