From c1a9d8349ec9f932c7e4c7f5e7b5ab3b64057199 Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 22 Jun 2017 13:51:40 +0900 Subject: [PATCH] ibm4704_usb: Fix handling of keyboard ID byte #420 --- converter/ibm4704_usb/matrix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/converter/ibm4704_usb/matrix.c b/converter/ibm4704_usb/matrix.c index c02d9e50..acba17dc 100644 --- a/converter/ibm4704_usb/matrix.c +++ b/converter/ibm4704_usb/matrix.c @@ -80,7 +80,8 @@ void matrix_init(void) print("IBM 4704 converter\n"); matrix_clear(); _delay_ms(2000); // wait for keyboard starting up - xprintf("Keyboard ID: %02X\n", ibm4704_recv()); + uint8_t keyboard_id = ibm4704_recv(); + xprintf("Keyboard ID: %02X\n", keyboard_id); enable_break(); } -- 2.46.2