Skip to content

Commit

Permalink
[Keyboard] Increase kinesis/kint41 unselect delay
Browse files Browse the repository at this point in the history
Fixes qmk#18014
  • Loading branch information
rockybulwinkle committed Aug 12, 2022
1 parent 90e2a51 commit 55ba64e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion keyboards/kinesis/kint41/kint41.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ void matrix_output_unselect_delay(uint8_t line, bool key_pressed) {
// Empirically: e.g. 5μs is not enough, will result in keys that don’t work
// and ghost key presses. 10μs seems to work well.

// On some variants of the hardware, 20us seems to be required. This was found
// on a combination of KB600LF+stapelberg v2020-06-30+teensy41.

// 600 cycles at 0.6 cycles/ns == 1μs
const uint32_t cycles_per_us = 600;
delay_inline(10 * cycles_per_us);
delay_inline(20 * cycles_per_us);
}

0 comments on commit 55ba64e

Please sign in to comment.