Skip to content

Commit

Permalink
[Bug] Fix matrix scan reporting interval (#16825)
Browse files Browse the repository at this point in the history
  • Loading branch information
nomis authored Apr 9, 2022
1 parent 98d4112 commit 84c9d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84c9d6f

Please sign in to comment.