mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-05 07:52:42 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
0135b95e25
@ -243,12 +243,12 @@ void rgblight_init(void) {
|
|||||||
|
|
||||||
rgblight_timer_init(); // setup the timer
|
rgblight_timer_init(); // setup the timer
|
||||||
|
|
||||||
|
rgblight_driver.init();
|
||||||
|
|
||||||
if (rgblight_config.enable) {
|
if (rgblight_config.enable) {
|
||||||
rgblight_mode_noeeprom(rgblight_config.mode);
|
rgblight_mode_noeeprom(rgblight_config.mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
rgblight_driver.init();
|
|
||||||
|
|
||||||
is_rgblight_initialized = true;
|
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));
|
return MAX(minValue, maxValue - (maxValue - minValue) * ((float)typing_speed / TYPING_SPEED_MAX_VALUE));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user