Fix some RGB Matrix-enabled keymaps referring to RGBLight mode (#13509)
This commit is contained in:
		
							parent
							
								
									ffdfe3798b
								
							
						
					
					
						commit
						99f637e82c
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -54,7 +54,7 @@ void keyboard_post_init_user(void) {
 | 
			
		|||
    // Set RGB to known state
 | 
			
		||||
    rgb_matrix_enable_noeeprom();
 | 
			
		||||
    rgb_matrix_set_color_all(RGB_GREEN);
 | 
			
		||||
    rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
 | 
			
		||||
    rgb_matrix_mode_noeeprom(RGB_MATRIX_SOLID_COLOR);
 | 
			
		||||
    user_led_enabled = true;
 | 
			
		||||
}
 | 
			
		||||
// [Process User Input] ------------------------------------------------------//
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -93,8 +93,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		|||
 | 
			
		||||
void reset_leds(void) {
 | 
			
		||||
    current_profile = OFF;
 | 
			
		||||
    rgblight_enable();
 | 
			
		||||
    rgblight_mode(RGBLIGHT_MODE_STATIC_LIGHT);
 | 
			
		||||
    rgb_matrix_enable();
 | 
			
		||||
    rgb_matrix_mode(RGB_MATRIX_SOLID_COLOR);
 | 
			
		||||
    rgb_matrix_sethsv(0x6a, 0x33, 0xff);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue