mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-17 21:22:05 +00:00
parent
634b158f46
commit
289536b605
@ -467,13 +467,11 @@ void rgblight_decrease_val(void) {
|
|||||||
}
|
}
|
||||||
void rgblight_increase_speed(void) {
|
void rgblight_increase_speed(void) {
|
||||||
rgblight_config.speed = increment( rgblight_config.speed, 1, 0, 3 );
|
rgblight_config.speed = increment( rgblight_config.speed, 1, 0, 3 );
|
||||||
rgblight_update_hook(NULL, &rgblight_status, false);
|
|
||||||
eeconfig_update_rgblight(rgblight_config.raw);//EECONFIG needs to be increased to support this
|
eeconfig_update_rgblight(rgblight_config.raw);//EECONFIG needs to be increased to support this
|
||||||
}
|
}
|
||||||
|
|
||||||
void rgblight_decrease_speed(void) {
|
void rgblight_decrease_speed(void) {
|
||||||
rgblight_config.speed = decrement( rgblight_config.speed, 1, 0, 3 );
|
rgblight_config.speed = decrement( rgblight_config.speed, 1, 0, 3 );
|
||||||
rgblight_update_hook(NULL, &rgblight_status, false);
|
|
||||||
eeconfig_update_rgblight(rgblight_config.raw);//EECONFIG needs to be increased to support this
|
eeconfig_update_rgblight(rgblight_config.raw);//EECONFIG needs to be increased to support this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user