Add housekeeping task callbacks so that keyboards/keymaps are capable of executing code for each main loop iteration. (#10530)
This commit is contained in:
		
							parent
							
								
									de4cbe34ff
								
							
						
					
					
						commit
						c4ecae1d77
					
				
					 7 changed files with 44 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1104,6 +1104,10 @@ int main(void) {
 | 
			
		|||
#if !defined(INTERRUPT_CONTROL_ENDPOINT)
 | 
			
		||||
        USB_USBTask();
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
        // Run housekeeping
 | 
			
		||||
        housekeeping_task_kb();
 | 
			
		||||
        housekeeping_task_user();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue