From: tmk Date: Thu, 22 Jun 2017 04:51:40 +0000 (+0900) Subject: ibm4704_usb: Fix handling of keyboard ID byte #420 X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=c1a9d8349ec9f932c7e4c7f5e7b5ab3b64057199;p=max%2Ftmk_keyboard.git ibm4704_usb: Fix handling of keyboard ID byte #420 --- 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(); }