commit fb150e08f1f87c05127d648c47a3fda455f3ecfa
parent 5ed7e1acf154f8be6980dbb6aeb0734341772884
Author: rockybulwinkle <rockybulwinkle@gmail.com>
Date: Fri, 12 Aug 2022 21:38:01 -0500
[Keyboard] Increase kinesis/kint41 unselect delay (#18015)
* [Keyboard] Increase kinesis/kint41 unselect delay
Fixes #18014
* Update kint41.c
Use correct si-abbreviation for micro in comment.
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/keyboards/kinesis/kint41/kint41.c b/keyboards/kinesis/kint41/kint41.c
@@ -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, 20μs 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);
}