Change DRIVER_LED_COUNT to {LED,RGB}_MATRIX_LED_COUNT (#18399)
				
					
				
			This commit is contained in:
		
							parent
							
								
									d967de0df7
								
							
						
					
					
						commit
						36c410592d
					
				
					 577 changed files with 836 additions and 831 deletions
				
			
		| 
						 | 
				
			
			@ -31,7 +31,7 @@
 | 
			
		|||
// 0b1110110 AD <-> SDA
 | 
			
		||||
#define DRIVER_ADDR_1 0b1110110
 | 
			
		||||
#define DRIVER_COUNT 1
 | 
			
		||||
#define DRIVER_LED_TOTAL 25
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT 25
 | 
			
		||||
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
 | 
			
		||||
#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
 | 
			
		||||
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,7 +18,7 @@
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
 | 
			
		||||
// left CA
 | 
			
		||||
    {0, C5_2,   C6_2,   C7_2}, //D2-0
 | 
			
		||||
    {0, C1_1,   C3_2,   C4_2}, //D20-1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue