From 12e5a3a13eb86852ad58c131e28ba29c5f09bb2d Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 27 Oct 2020 02:15:42 +0900 Subject: [PATCH] xt_usb: Fix XT soft reset Data line should be hi while Clock line is low https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-XT-Keyboard-Protocol#keyboard-soft-reset --- tmk_core/protocol/xt_interrupt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmk_core/protocol/xt_interrupt.c b/tmk_core/protocol/xt_interrupt.c index ebaa436b..1bdb519c 100644 --- a/tmk_core/protocol/xt_interrupt.c +++ b/tmk_core/protocol/xt_interrupt.c @@ -65,7 +65,7 @@ void xt_host_init(void) #endif /* soft reset: pull clock line down for 20ms */ - XT_DATA_LO(); + XT_DATA_IN(); XT_CLOCK_LO(); _delay_ms(20); -- 2.46.2