Refactor use of matrix_scan_kb (#24200)
				
					
				
			This commit is contained in:
		
							parent
							
								
									20ae67ba01
								
							
						
					
					
						commit
						02b43b4b60
					
				
					 24 changed files with 20 additions and 164 deletions
				
			
		| 
						 | 
				
			
			@ -76,7 +76,7 @@ void set_caps_mode(uint8_t mode){
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void matrix_scan_kb(void) {
 | 
			
		||||
void housekeeping_task_kb(void) {
 | 
			
		||||
	if(caps_in){
 | 
			
		||||
		if(timer_elapsed32(caps_timer) > 3000){
 | 
			
		||||
            rgblight_sethsv(pre_rgb.hue, pre_rgb.sat, pre_rgb.val);	
 | 
			
		||||
| 
						 | 
				
			
			@ -84,8 +84,6 @@ void matrix_scan_kb(void) {
 | 
			
		|||
            caps_in = false;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
    matrix_scan_user();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue