~ruther/qmk_firmware

84c9d6ff39b92892c385c320f3d36145d71c9095 — Simon Arlott 3 years ago 98d4112
[Bug] Fix matrix scan reporting interval (#16825)

1 files changed, 1 insertions(+), 1 deletions(-)

M quantum/keyboard.c
M quantum/keyboard.c => quantum/keyboard.c +1 -1
@@ 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