diff options
author | Ryan <fauxpark@gmail.com> | 2023-09-04 10:19:59 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-04 01:19:59 +0100 |
commit | 41bd4e35a09cc50f45112074d2b776254a3a17f8 (patch) | |
tree | 9258c5ad40dda232e3b8271942b436bdafa6f115 /keyboards/dp60 | |
parent | 1e3095f9cce45fab0a566e692b1ff1c2047cfa08 (diff) |
Clean up RGB LED type (#21859)
Diffstat (limited to 'keyboards/dp60')
-rw-r--r-- | keyboards/dp60/keymaps/indicator/indicator.c | 4 | ||||
-rw-r--r-- | keyboards/dp60/keymaps/indicator/led_driver.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/dp60/keymaps/indicator/indicator.c b/keyboards/dp60/keymaps/indicator/indicator.c index 683ae3625a..02450ce68d 100644 --- a/keyboards/dp60/keymaps/indicator/indicator.c +++ b/keyboards/dp60/keymaps/indicator/indicator.c @@ -70,9 +70,9 @@ void keyboard_post_init_user(void) { extern rgblight_config_t rgblight_config; extern void rgblight_layers_write(void); -extern void indicator_write(LED_TYPE *start_led, uint8_t num_leds); +extern void indicator_write(rgb_led_t *start_led, uint8_t num_leds); -void rgblight_call_driver(LED_TYPE *start_led, uint8_t num_leds) +void rgblight_call_driver(rgb_led_t *start_led, uint8_t num_leds) { ws2812_setleds(start_led, RGBLED_NUM-RGB_INDICATOR_NUM); diff --git a/keyboards/dp60/keymaps/indicator/led_driver.c b/keyboards/dp60/keymaps/indicator/led_driver.c index 677eb8af57..b31e2daacd 100644 --- a/keyboards/dp60/keymaps/indicator/led_driver.c +++ b/keyboards/dp60/keymaps/indicator/led_driver.c @@ -20,7 +20,7 @@ #define ws2812_setleds_pin indicator_setleds_pin #include "ws2812_bitbang.c" -void indicator_write(LED_TYPE *start_led, uint8_t num_leds) +void indicator_write(rgb_led_t *start_led, uint8_t num_leds) { indicator_setleds(start_led, num_leds); } |