]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
ibmpc: Fix ibmpc_host_isr_clear()
authortmk <hasu@tmk-kbd.com>
Tue, 12 May 2020 09:51:39 +0000 (18:51 +0900)
committertmk <hasu@tmk-kbd.com>
Tue, 12 May 2020 09:51:39 +0000 (18:51 +0900)
tmk_core/protocol/ibmpc.c

index 23aad3d37db79f65e7d19ca46cd19a323a07d9b7..a4b8dfd86d121a88a50243bf5594e063de6828de 100644 (file)
@@ -226,6 +226,9 @@ int16_t ibmpc_host_recv_response(void)
 
 void ibmpc_host_isr_clear(void)
 {
+    ibmpc_isr_debug = 0;
+    ibmpc_protocol = 0;
+    ibmpc_error = 0;
     isr_state = 0x8000;
     recv_data = 0xFFFF;
 }