mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-17 09:24:48 +00:00
[Bug] Fix matrix scan reporting interval (#16825)
This commit is contained in:
parent
98d411232f
commit
84c9d6ff39
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ void matrix_scan_perf_task(void) {
|
|||
matrix_scan_count++;
|
||||
|
||||
uint32_t timer_now = timer_read32();
|
||||
if (TIMER_DIFF_32(timer_now, matrix_timer) > 1000) {
|
||||
if (TIMER_DIFF_32(timer_now, matrix_timer) >= 1000) {
|
||||
# if defined(CONSOLE_ENABLE)
|
||||
dprintf("matrix scan frequency: %lu\n", matrix_scan_count);
|
||||
# endif
|
||||
|
|
Loading…
Reference in a new issue