[Bug] Fix matrix scan reporting interval (#16825)

zvecr-patch-1 0.16.9
Simon Arlott 3 years ago committed by GitHub
parent 98d411232f
commit 84c9d6ff39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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

Loading…
Cancel
Save