Skip to content

Commit

Permalink
Fix rgblight init (#23335)
Browse files Browse the repository at this point in the history
  • Loading branch information
daskygit authored Mar 24, 2024
1 parent 38813e8 commit d0ee4a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quantum/rgblight/rgblight.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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

0 comments on commit d0ee4a1

Please sign in to comment.