Fix type for rgbw led struct

This commit is contained in:
Drashna Jael're 2019-12-26 00:08:35 -08:00
parent cd7f17caf6
commit c5c744cba0
No known key found for this signature in database
GPG Key ID: DBA1FD3A860D1B11

View File

@ -95,11 +95,11 @@ LED_TYPE led[RGBLED_NUM];
# define LED_ARRAY led
#endif
static uint8_t clipping_start_pos = 0;
static uint8_t clipping_num_leds = RGBLED_NUM;
static uint8_t effect_start_pos = 0;
static uint8_t effect_end_pos = RGBLED_NUM;
static uint8_t effect_num_leds = RGBLED_NUM;
uint8_t clipping_start_pos = 0;
uint8_t clipping_num_leds = RGBLED_NUM;
uint8_t effect_start_pos = 0;
uint8_t effect_end_pos = RGBLED_NUM;
uint8_t effect_num_leds = RGBLED_NUM;
void rgblight_set_clipping_range(uint8_t start_pos, uint8_t num_leds) {
clipping_start_pos = start_pos;