Rename RGBLED_NUM -> RGBLIGHT_LED_COUNT (#22570)
				
					
				
			This commit is contained in:
		
							parent
							
								
									3c7e9a6827
								
							
						
					
					
						commit
						e648155113
					
				
					 90 changed files with 254 additions and 263 deletions
				
			
		| 
						 | 
				
			
			@ -7,8 +7,8 @@
 | 
			
		|||
#include "color.h"
 | 
			
		||||
 | 
			
		||||
static inline void rgblite_setrgb(RGB rgb) {
 | 
			
		||||
    rgb_led_t leds[RGBLED_NUM] = {{.r = rgb.r, .g = rgb.g, .b = rgb.b}};
 | 
			
		||||
    ws2812_setleds(leds, RGBLED_NUM);
 | 
			
		||||
    rgb_led_t leds[RGBLIGHT_LED_COUNT] = {{.r = rgb.r, .g = rgb.g, .b = rgb.b}};
 | 
			
		||||
    ws2812_setleds(leds, RGBLIGHT_LED_COUNT);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void rgblite_increase_hue(void) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue