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
				
			
		| 
						 | 
				
			
			@ -153,6 +153,10 @@ int main(void) {
 | 
			
		|||
                console_task();
 | 
			
		||||
            }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
            // Run housekeeping
 | 
			
		||||
            housekeeping_task_kb();
 | 
			
		||||
            housekeeping_task_user();
 | 
			
		||||
        } else if (suspend_wakeup_condition()) {
 | 
			
		||||
            usb_remote_wakeup();
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue