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-23 15:58:16 +11:00 committed by James Young
parent de4cbe34ff
commit c4ecae1d77
No known key found for this signature in database
GPG key ID: 8E1085BF6FCFBD74
7 changed files with 44 additions and 0 deletions

View file

@ -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();
}