Add housekeeping task callbacks so that keyboards/keymaps are capable of executing code for each main loop iteration. (#10530)

This commit is contained in:
Nick Brassel
2020-10-30 13:23:03 -07:00
committed by James Young
parent de4cbe34ff
commit c4ecae1d77
7 changed files with 44 additions and 0 deletions
+4
View File
@@ -1104,6 +1104,10 @@ int main(void) {
#if !defined(INTERRUPT_CONTROL_ENDPOINT)
USB_USBTask();
#endif
// Run housekeeping
housekeeping_task_kb();
housekeeping_task_user();
}
}