Clean up RGB LED type (#21859)
This commit is contained in:
		
							parent
							
								
									1e3095f9cc
								
							
						
					
					
						commit
						41bd4e35a0
					
				
					 63 changed files with 222 additions and 243 deletions
				
			
		| 
						 | 
				
			
			@ -4,6 +4,6 @@
 | 
			
		|||
#include "color.h"
 | 
			
		||||
 | 
			
		||||
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}};
 | 
			
		||||
    rgb_led_t leds[RGBLED_NUM] = {{.r = _r, .g = _g, .b = _b}, {.r = _r, .g = _g, .b = _b}};
 | 
			
		||||
    ws2812_setleds(leds, RGBLED_NUM);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue