From b1a2cc7652e126f88a640dd34a267f6736ba6491 Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Thu, 26 Dec 2019 02:24:35 -0800 Subject: [PATCH] Remove static from clipping variables in rgblight.c This allows these variables to be called by keyboard code that uses the custom rgb driver. --- quantum/rgblight.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/quantum/rgblight.c b/quantum/rgblight.c index cc35b01ed4d5..4cd150fb3ab8 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c @@ -107,11 +107,11 @@ LED_TYPE led[RGBLED_NUM]; rgblight_segment_t const *const *rgblight_layers = NULL; #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;