mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
4ce0203208
|
@ -149,7 +149,7 @@ void matrix_scan_perf_task(void) {
|
||||||
matrix_scan_count++;
|
matrix_scan_count++;
|
||||||
|
|
||||||
uint32_t timer_now = timer_read32();
|
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)
|
# if defined(CONSOLE_ENABLE)
|
||||||
dprintf("matrix scan frequency: %lu\n", matrix_scan_count);
|
dprintf("matrix scan frequency: %lu\n", matrix_scan_count);
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in a new issue