Fix up xd002 rgb keymaps (#13685)

This commit is contained in:
Joel Challis 2021-07-24 15:50:32 +01:00 committed by GitHub
parent 567da49ed0
commit e562238309
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 13 deletions

View file

@ -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);
}