mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 18:04:57 +00:00
Fix type for rgbw led struct
This commit is contained in:
parent
cd7f17caf6
commit
c5c744cba0
1 changed files with 5 additions and 5 deletions
|
@ -95,11 +95,11 @@ LED_TYPE led[RGBLED_NUM];
|
||||||
# define LED_ARRAY led
|
# define LED_ARRAY led
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static uint8_t clipping_start_pos = 0;
|
uint8_t clipping_start_pos = 0;
|
||||||
static uint8_t clipping_num_leds = RGBLED_NUM;
|
uint8_t clipping_num_leds = RGBLED_NUM;
|
||||||
static uint8_t effect_start_pos = 0;
|
uint8_t effect_start_pos = 0;
|
||||||
static uint8_t effect_end_pos = RGBLED_NUM;
|
uint8_t effect_end_pos = RGBLED_NUM;
|
||||||
static uint8_t effect_num_leds = RGBLED_NUM;
|
uint8_t effect_num_leds = RGBLED_NUM;
|
||||||
|
|
||||||
void rgblight_set_clipping_range(uint8_t start_pos, uint8_t num_leds) {
|
void rgblight_set_clipping_range(uint8_t start_pos, uint8_t num_leds) {
|
||||||
clipping_start_pos = start_pos;
|
clipping_start_pos = start_pos;
|
||||||
|
|
Loading…
Reference in a new issue