From: tmk Date: Mon, 26 Oct 2020 17:15:42 +0000 (+0900) Subject: xt_usb: Fix XT soft reset X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=12e5a3a13eb86852ad58c131e28ba29c5f09bb2d;p=max%2Ftmk_keyboard.git 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 --- 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);