Change RGB_MATRIX_STARTUP_* defines to RGB_MATRIX_DEFAULT_* (#19079)
				
					
				
			This commit is contained in:
		
							parent
							
								
									ad7b095da6
								
							
						
					
					
						commit
						e12ca14af8
					
				
					 196 changed files with 373 additions and 377 deletions
				
			
		| 
						 | 
				
			
			@ -224,10 +224,10 @@ void matrix_init_kb(void) {
 | 
			
		|||
     * Since K20x is stuck with a 32 byte EEPROM (see tmk_core/common/chibios/eeprom_teensy.c),
 | 
			
		||||
     * and neither led_matrix_eeconfig.speed or .flags fit in this boundary, just force their values to default on boot.
 | 
			
		||||
     */
 | 
			
		||||
#    if !defined(RGB_MATRIX_STARTUP_SPD)
 | 
			
		||||
#        define RGB_MATRIX_STARTUP_SPD UINT8_MAX / 2
 | 
			
		||||
#    if !defined(RGB_MATRIX_DEFAULT_SPD)
 | 
			
		||||
#        define RGB_MATRIX_DEFAULT_SPD UINT8_MAX / 2
 | 
			
		||||
#    endif
 | 
			
		||||
    rgb_matrix_set_speed(RGB_MATRIX_STARTUP_SPD),
 | 
			
		||||
    rgb_matrix_set_speed(RGB_MATRIX_DEFAULT_SPD),
 | 
			
		||||
    rgb_matrix_set_flags(LED_FLAG_ALL);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,7 +20,7 @@
 | 
			
		|||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
// #    define RGB_MATRIX_FRAMEBUFFER_EFFECTS
 | 
			
		||||
// #    define RGB_MATRIX_KEYPRESSES
 | 
			
		||||
#    define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_RAINDROPS
 | 
			
		||||
#    define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_RAINDROPS
 | 
			
		||||
 | 
			
		||||
// #    define DEBUG_MATRIX_SCAN_RATE
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue