diff options
Diffstat (limited to 'keyboards/kinesis/kint41/kint41.c')
-rw-r--r-- | keyboards/kinesis/kint41/kint41.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/keyboards/kinesis/kint41/kint41.c b/keyboards/kinesis/kint41/kint41.c index ab6567d097..2538b492de 100644 --- a/keyboards/kinesis/kint41/kint41.c +++ b/keyboards/kinesis/kint41/kint41.c @@ -16,11 +16,12 @@ #include "kint41.h" +#define LED_POWER LINE_PIN13 + void matrix_init_kb(void) { matrix_init_user(); -// Turn on the Teensy 4.x Power LED: -#define LED_POWER LINE_PIN13 + // Turn on the Teensy 4.x Power LED: setPinOutput(LED_POWER); writePinHigh(LED_POWER); } @@ -46,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); } |