Update endgame keymap to work with suspend changes (#13805)
Updates the Massdrop CTRL keyboard engame keymap to work after the changes to USB suspend in #12697 Fixes #13782
This commit is contained in:
		
							parent
							
								
									954806c80f
								
							
						
					
					
						commit
						3f5482bbb7
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -373,7 +373,7 @@ void set_layer_color(int layer) {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
void rgb_matrix_indicators_user(void) {
 | 
			
		||||
    if (g_suspend_state || disable_layer_color ||
 | 
			
		||||
    if (disable_layer_color ||
 | 
			
		||||
        rgb_matrix_get_flags() == LED_FLAG_NONE ||
 | 
			
		||||
        rgb_matrix_get_flags() == LED_FLAG_UNDERGLOW) {
 | 
			
		||||
            return;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -33,7 +33,6 @@
 | 
			
		|||
#define RGB_TIME_OUT_MIN 10
 | 
			
		||||
#define RGB_TIME_OUT_STEP 10
 | 
			
		||||
 | 
			
		||||
extern bool g_suspend_state;
 | 
			
		||||
extern rgb_config_t rgb_matrix_config;
 | 
			
		||||
bool disable_layer_color;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue