Relocate LED driver init code (#22365)
This commit is contained in:
		
							parent
							
								
									eac8e67888
								
							
						
					
					
						commit
						b52aca0af8
					
				
					 100 changed files with 795 additions and 798 deletions
				
			
		| 
						 | 
				
			
			@ -82,8 +82,9 @@ typedef struct snled27351_led_t {
 | 
			
		|||
    uint8_t b;
 | 
			
		||||
} __attribute__((packed)) snled27351_led_t;
 | 
			
		||||
 | 
			
		||||
extern const snled27351_led_t PROGMEM g_snled27351_leds[RGB_MATRIX_LED_COUNT];
 | 
			
		||||
extern const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT];
 | 
			
		||||
 | 
			
		||||
void snled27351_init_drivers(void);
 | 
			
		||||
void snled27351_init(uint8_t addr);
 | 
			
		||||
bool snled27351_write_register(uint8_t addr, uint8_t reg, uint8_t data);
 | 
			
		||||
bool snled27351_write_pwm_buffer(uint8_t addr, uint8_t *pwm_buffer);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue