From f8685ce694329529d93c4e3afb8aae25d7ec5959 Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 2 Mar 2020 14:11:16 +0900 Subject: [PATCH] ibmpc: Fix debug print --- tmk_core/protocol/ibmpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmk_core/protocol/ibmpc.c b/tmk_core/protocol/ibmpc.c index 2f5f70f5..6fb949e7 100644 --- a/tmk_core/protocol/ibmpc.c +++ b/tmk_core/protocol/ibmpc.c @@ -174,8 +174,8 @@ int16_t ibmpc_host_recv(void) } } + if ((data | 0x00FF) != 0xFFFF) dprintf("b%04X ", data); if (ret != 0xFF) dprintf("r%02X ", ret); - if (recv_data != 0xFFFF) dprintf("b%04X ", recv_data); return ((ret != 0xFF) ? ret : -1); } -- 2.46.2