Antoine BertinandClaude Opus 5.5 7be2cfed5e Fix activity elapsed time wrapping on the slave (#26545)
With SPLIT_ACTIVITY_ENABLE the slave adopts the master's activity
timestamps, but applies timer syncs from its main loop, so its synced
clock can lag the master's by however long the loop was busy. A key
press can then carry a timestamp slightly ahead of the slave's clock,
and the unsigned elapsed time wraps to nearly UINT32_MAX, briefly
tripping RGB_MATRIX_TIMEOUT, LED_MATRIX_TIMEOUT and other idle checks.

Treat a timestamp up to one second in the future as no time elapsed.

Fixes #26544

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:09:10 +11:00
2022-02-11 20:00:34 -08:00
2025-06-15 11:56:10 +10:00
2024-09-02 03:48:17 +01:00
…
…
2022-04-13 18:00:18 +10:00

THIS IS THE DEVELOP BRANCH

Warning- This is the develop branch of QMK Firmware. You may encounter broken code here. Please see Breaking Changes for more information.

Quantum Mechanical Keyboard Firmware

Current Version Discord Docs Status GitHub contributors GitHub forks

This is a keyboard firmware based on the tmk_keyboard firmware with some useful features for Atmel AVR and ARM controllers, and more specifically, the OLKB product line, the ErgoDox EZ keyboard, and the Clueboard product line.

Documentation

The docs are powered by VitePress. They are also viewable offline; see Previewing the Documentation for more details.

You can request changes by making a fork and opening a pull request.

Supported Keyboards

The project also includes community support for lots of other keyboards.

Maintainers

QMK is developed and maintained by Jack Humbert of OLKB with contributions from the community, and of course, Hasu. The OLKB product firmwares are maintained by Jack Humbert, the Ergodox EZ by ZSA Technology Labs, the Clueboard by Zach White, and the Atreus by Phil Hagelberg.

Official Website

qmk.fm is the official website of QMK, where you can find links to this page, the documentation, and the keyboards supported by QMK.

Languages
C 90.1%
C++ 6.4%
Python 1.8%
Makefile 1.2%
Linker Script 0.2%
Other 0.2%