diff options
author | Nick Brassel <nick@tzarc.org> | 2021-05-18 17:02:28 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-18 17:02:28 +1000 |
commit | 58142f0726147d538167ff3ab793743348f40dcd (patch) | |
tree | e3db28a5c97c75c101af821283c56ce4dc017a3a /tmk_core/common/keyboard.h | |
parent | 6cdc996e0b40e9cd9a368e5ac2be2341aa9d6747 (diff) | |
download | qmk_firmware-58142f0726147d538167ff3ab793743348f40dcd.tar.gz qmk_firmware-58142f0726147d538167ff3ab793743348f40dcd.zip |
Fixup housekeeping from being invoked twice per loop. (#12933)
Diffstat (limited to 'tmk_core/common/keyboard.h')
-rw-r--r-- | tmk_core/common/keyboard.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tmk_core/common/keyboard.h b/tmk_core/common/keyboard.h index eaf74bac58..779973f1d6 100644 --- a/tmk_core/common/keyboard.h +++ b/tmk_core/common/keyboard.h @@ -70,8 +70,9 @@ void keyboard_pre_init_user(void); void keyboard_post_init_kb(void); void keyboard_post_init_user(void); -void housekeeping_task_kb(void); -void housekeeping_task_user(void); +void housekeeping_task(void); // To be executed by the main loop in each backend TMK protocol +void housekeeping_task_kb(void); // To be overridden by keyboard-level code +void housekeeping_task_user(void); // To be overridden by user/keymap-level code uint32_t last_input_activity_time(void); // Timestamp of the last matrix or encoder activity uint32_t last_input_activity_elapsed(void); // Number of milliseconds since the last matrix or encoder activity |