diff options
author | Joel Challis <git@zvecr.com> | 2021-07-24 15:50:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-24 15:50:32 +0100 |
commit | e562238309fd5fa6eaf81918fab23b4fe674b5f2 (patch) | |
tree | 2bfb7bb2af44f88ec76216598baed0d3c9f0d3fe /keyboards/xd002/keymaps/multilayer_rgb/rgblite.h | |
parent | 567da49ed027a936a6f56aa069aad0db4605a198 (diff) |
Fix up xd002 rgb keymaps (#13685)
Diffstat (limited to 'keyboards/xd002/keymaps/multilayer_rgb/rgblite.h')
-rw-r--r-- | keyboards/xd002/keymaps/multilayer_rgb/rgblite.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/xd002/keymaps/multilayer_rgb/rgblite.h b/keyboards/xd002/keymaps/multilayer_rgb/rgblite.h index ddc61d5f43..8a14a8f956 100644 --- a/keyboards/xd002/keymaps/multilayer_rgb/rgblite.h +++ b/keyboards/xd002/keymaps/multilayer_rgb/rgblite.h @@ -1,9 +1,9 @@ #pragma once #include "ws2812.h" -#include "rgblight_list.h" +#include "color.h" -static inline void rgblight_setrgb(uint8_t _r, uint8_t _g, uint8_t _b) { +static inline void rgblite_setrgb(uint8_t _r, uint8_t _g, uint8_t _b) { LED_TYPE leds[RGBLED_NUM] = {{.r = _r, .g = _g, .b = _b}, {.r = _r, .g = _g, .b = _b}}; ws2812_setleds(leds, RGBLED_NUM); } |