]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
core: ibmpc: Add comments on stop bit of Z-150 AT
authortmk <hasu@tmk-kbd.com>
Fri, 8 May 2020 12:31:50 +0000 (21:31 +0900)
committertmk <hasu@tmk-kbd.com>
Fri, 8 May 2020 12:46:33 +0000 (21:46 +0900)
tmk_core/protocol/ibmpc.c

index 6fb949e7dfe0fe54094af13d410d17e6a174673e..65e8a2676245a52ec261f261565ec5384420111b 100644 (file)
@@ -293,6 +293,8 @@ ISR(IBMPC_INT_VECT)
         case 0b01010000:
         case 0b11010000:
             // AT-done
+            // DO NOT check stop bit. Zenith Z-150(AT) asserts stop bit as low for no reason.
+            // https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#zenith-z-150-beige
             // TODO: parity check?
             isr_state = isr_state>>6;
             ibmpc_protocol = IBMPC_PROTOCOL_AT;