summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorSimon Arlott <70171+nomis@users.noreply.github.com>2022-04-09 19:49:20 +0100
committerGitHub <noreply@github.com>2022-04-09 11:49:20 -0700
commit84c9d6ff39b92892c385c320f3d36145d71c9095 (patch)
tree71d3644d8323a4e47ab2adee1753dedd40a202ab /quantum
parent98d411232f1e94b5bbd0d6e087fccc3cb222f19a (diff)
downloadqmk_firmware-84c9d6ff39b92892c385c320f3d36145d71c9095.tar.gz
qmk_firmware-84c9d6ff39b92892c385c320f3d36145d71c9095.zip
[Bug] Fix matrix scan reporting interval (#16825)
Diffstat (limited to 'quantum')
-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