Relocate LED driver init code (#22365)
This commit is contained in:
		
							parent
							
								
									eac8e67888
								
							
						
					
					
						commit
						b52aca0af8
					
				
					 100 changed files with 795 additions and 798 deletions
				
			
		| 
						 | 
				
			
			@ -70,8 +70,9 @@ typedef struct is31fl3741_led_t {
 | 
			
		|||
    uint32_t v : 10;
 | 
			
		||||
} __attribute__((packed)) is31fl3741_led_t;
 | 
			
		||||
 | 
			
		||||
extern const is31fl3741_led_t PROGMEM g_is31fl3741_leds[RGB_MATRIX_LED_COUNT];
 | 
			
		||||
extern const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT];
 | 
			
		||||
 | 
			
		||||
void is31fl3741_init_drivers(void);
 | 
			
		||||
void is31fl3741_init(uint8_t addr);
 | 
			
		||||
void is31fl3741_write_register(uint8_t addr, uint8_t reg, uint8_t data);
 | 
			
		||||
bool is31fl3741_write_pwm_buffer(uint8_t addr, uint8_t *pwm_buffer);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue