summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quantum/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/keyboard.c b/quantum/keyboard.c
index ba5609f0aa..ce4f06ae69 100644
--- a/quantum/keyboard.c
+++ b/quantum/keyboard.c
@@ -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