diff options
author | Andre Brait <[email protected]> | 2024-02-16 15:19:02 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-17 01:19:02 +1100 |
commit | 80f3da36e571fa702b1d3df693fd545801250eca (patch) | |
tree | 8fe09c9e53bbe8534372a87bab3d4edfd61e5fa8 /quantum/keyboard.c | |
parent | 77e88674986ee14bd1799b1ab19b4c94af083bac (diff) | |
download | qmk_firmware-80f3da36e571fa702b1d3df693fd545801250eca.tar.gz qmk_firmware-80f3da36e571fa702b1d3df693fd545801250eca.zip |
[Core] Add OS detection callbacks (#21777)
Diffstat (limited to 'quantum/keyboard.c')
-rw-r--r-- | quantum/keyboard.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/keyboard.c b/quantum/keyboard.c index ab25b02547..1d6657c230 100644 --- a/quantum/keyboard.c +++ b/quantum/keyboard.c @@ -137,6 +137,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifdef WPM_ENABLE # include "wpm.h" #endif +#ifdef OS_DETECTION_ENABLE +# include "os_detection.h" +#endif static uint32_t last_input_modification_time = 0; uint32_t last_input_activity_time(void) { @@ -741,4 +744,8 @@ void keyboard_task(void) { #endif led_task(); + +#ifdef OS_DETECTION_ENABLE + os_detection_task(); +#endif } |