Add missing bracket for VIA brightness scaling (#17354)
This commit is contained in:
parent
0fd08da806
commit
568924c76c
@ -491,7 +491,7 @@ void via_qmk_rgblight_set_value(uint8_t *data) {
|
||||
uint8_t *value_data = &(data[1]);
|
||||
switch (*value_id) {
|
||||
case id_qmk_rgblight_brightness: {
|
||||
rgblight_sethsv_noeeprom(rgblight_get_hue(), rgblight_get_sat(), ((uint16_t)value_data[0] * RGBLIGHT_LIMIT_VAL) / UINT8_MAX;
|
||||
rgblight_sethsv_noeeprom(rgblight_get_hue(), rgblight_get_sat(), ((uint16_t)value_data[0] * RGBLIGHT_LIMIT_VAL) / UINT8_MAX);
|
||||
break;
|
||||
}
|
||||
case id_qmk_rgblight_effect: {
|
||||
|
Loading…
Reference in New Issue
Block a user