Add init function to RGBLight driver struct (#23076)
This commit is contained in:
		
							parent
							
								
									23b7a02ebe
								
							
						
					
					
						commit
						f7cf40fa77
					
				
					 42 changed files with 306 additions and 93 deletions
				
			
		| 
						 | 
				
			
			@ -79,6 +79,7 @@ void setleds_custom(rgb_led_t *start_led, uint16_t num_leds)
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
const rgblight_driver_t rgblight_driver = {
 | 
			
		||||
    .init    = ws2812_init,
 | 
			
		||||
    .setleds = setleds_custom,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue