summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorDasky <32983009+daskygit@users.noreply.github.com>2022-06-11 03:07:58 +0100
committerGitHub <noreply@github.com>2022-06-10 19:07:58 -0700
commit568924c76cb29620e2cb7d2f2f5b1beddf8cf623 (patch)
tree865a449b71f106f574661dc3bb00bb1b92f1c273 /quantum
parent0fd08da806711112147cd6c3b9bdee0250f9f103 (diff)
downloadqmk_firmware-568924c76cb29620e2cb7d2f2f5b1beddf8cf623.tar.gz
qmk_firmware-568924c76cb29620e2cb7d2f2f5b1beddf8cf623.zip
Add missing bracket for VIA brightness scaling (#17354)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/via.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/via.c b/quantum/via.c
index a37bd38da8..1ded1f5fe8 100644
--- a/quantum/via.c
+++ b/quantum/via.c
@@ -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: {