From 1ac07ccf99faa91eeb2b128be51cf6b36eb6376e Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 4 Sep 2019 23:43:29 +0900 Subject: [PATCH] pc98_usb: Fix debug print codes --- converter/pc98_usb/matrix.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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<