mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-17 09:24:48 +00:00
Add missing bracket for VIA brightness scaling (#17354)
This commit is contained in:
parent
0fd08da806
commit
568924c76c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue