From: tmk Date: Wed, 4 Sep 2019 14:43:29 +0000 (+0900) Subject: pc98_usb: Fix debug print codes X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=1ac07ccf99faa91eeb2b128be51cf6b36eb6376e;p=max%2Ftmk_keyboard.git pc98_usb: Fix debug print codes --- diff --git a/converter/pc98_usb/matrix.c b/converter/pc98_usb/matrix.c index 84a29382..b44d3ef5 100644 --- a/converter/pc98_usb/matrix.c +++ b/converter/pc98_usb/matrix.c @@ -71,12 +71,12 @@ static void pc98_inhibit_repeat(void) RETRY: pc98_send(0x9C); code = pc98_wait_response(); - if (code != -1) xprintf("send 9C: %02X\n", code); + if (code != -1) dprintf("send 9C: %02X\n", code); if (code != 0xFA) return; pc98_send(0x70); code = pc98_wait_response(); - if (code != -1) xprintf("send 70: %02X\n", code); + if (code != -1) dprintf("send 70: %02X\n", code); if (code != 0xFA) goto RETRY; } @@ -87,18 +87,17 @@ static void pc98_led_set(void) RETRY: pc98_send(0x9D); code = pc98_wait_response(); - if (code != -1) xprintf("send 9D: %02X\n", code); + if (code != -1) dprintf("send 9D: %02X\n", code); if (code != 0xFA) return; pc98_send(pc98_led); code = pc98_wait_response(); - if (code != -1) xprintf("send %02X: %02X\n", pc98_led, code); + if (code != -1) dprintf("send %02X: %02X\n", pc98_led, code); if (code != 0xFA) goto RETRY; } void matrix_init(void) { - debug_keyboard = true; PC98_RST_DDR |= (1<