Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
ebc9cb4ed1
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]);
|
uint8_t *value_data = &(data[1]);
|
||||||
switch (*value_id) {
|
switch (*value_id) {
|
||||||
case id_qmk_rgblight_brightness: {
|
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;
|
break;
|
||||||
}
|
}
|
||||||
case id_qmk_rgblight_effect: {
|
case id_qmk_rgblight_effect: {
|
||||||
|
|
Loading…
Reference in a new issue