summaryrefslogtreecommitdiff
path: root/keyboards/clueboard/66
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-09-04 10:19:59 +1000
committerGitHub <noreply@github.com>2023-09-04 01:19:59 +0100
commit41bd4e35a09cc50f45112074d2b776254a3a17f8 (patch)
tree9258c5ad40dda232e3b8271942b436bdafa6f115 /keyboards/clueboard/66
parent1e3095f9cce45fab0a566e692b1ff1c2047cfa08 (diff)
Clean up RGB LED type (#21859)
Diffstat (limited to 'keyboards/clueboard/66')
-rw-r--r--keyboards/clueboard/66/keymaps/magicmonty/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/clueboard/66/keymaps/magicmonty/keymap.c b/keyboards/clueboard/66/keymaps/magicmonty/keymap.c
index 238147537d..2a0cf1509f 100644
--- a/keyboards/clueboard/66/keymaps/magicmonty/keymap.c
+++ b/keyboards/clueboard/66/keymaps/magicmonty/keymap.c
@@ -172,7 +172,7 @@ void clueboard_set_midi_led(uint8_t base_oct, uint8_t val)
uint8_t sat = 255;
for (uint8_t i = 0; i < RGBLED_NUM; i++) {
- sethsv(oct_hues[base_oct], sat, val, (LED_TYPE *)&led[i]);
+ sethsv(oct_hues[base_oct], sat, val, (rgb_led_t *)&led[i]);
}
uint8_t next_oct = base_oct < MAX_OCT ? base_oct + 1 : base_oct;
@@ -183,11 +183,11 @@ void clueboard_set_midi_led(uint8_t base_oct, uint8_t val)
for (uint8_t i = 0; i < 3; i++) {
- sethsv(next_hue, next_sat, next_val, (LED_TYPE *)&led[i]);
+ sethsv(next_hue, next_sat, next_val, (rgb_led_t *)&led[i]);
}
for (uint8_t i = 11; i < 14; i++) {
- sethsv(next_hue, next_sat, next_val, (LED_TYPE *)&led[i]);
+ sethsv(next_hue, next_sat, next_val, (rgb_led_t *)&led[i]);
}
rgblight_set();