Skip to content

Commit

Permalink
[Bug] Fix matrix scan reporting interval (qmk#16825)
Browse files Browse the repository at this point in the history
  • Loading branch information
nomis authored and zykrah committed Jul 2, 2022
1 parent 6e103f3 commit 8999512
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
@@ -155,7 +155,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

0 comments on commit 8999512

Please sign in to comment.