summaryrefslogtreecommitdiff
path: root/converter/ps2_usb
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-11-26 14:31:57 +0900
committertmk <nobody@nowhere>2013-11-26 14:31:57 +0900
commit9d26053f1c14da79336a64f800305660d1a71180 (patch)
treefd65dae1bf3965b8262d1b55bb0185b11241e77f /converter/ps2_usb
parent9ae9742ac59b18cf989370f53d669daeb75bd7a3 (diff)
Fix ps2_host_recv_response
Diffstat (limited to 'converter/ps2_usb')
-rw-r--r--converter/ps2_usb/matrix.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/converter/ps2_usb/matrix.c b/converter/ps2_usb/matrix.c
index a4c27f5d5b..aa0c38c68d 100644
--- a/converter/ps2_usb/matrix.c
+++ b/converter/ps2_usb/matrix.c
@@ -217,7 +217,7 @@ uint8_t matrix_scan(void)
if (code < 0x80) {
matrix_make(code);
} else {
- printf("unexpected scan code at INIT: %02X\n", code);
+ xprintf("unexpected scan code at INIT: %02X\n", code);
clear_keyboard();
}
state = INIT;
@@ -239,7 +239,7 @@ uint8_t matrix_scan(void)
if (code < 0x80) {
matrix_make(code|0x80);
} else {
- printf("unexpected scan code at E0: %02X\n", code);
+ xprintf("unexpected scan code at E0: %02X\n", code);
clear_keyboard();
}
state = INIT;
@@ -259,7 +259,7 @@ uint8_t matrix_scan(void)
if (code < 0x80) {
matrix_break(code);
} else {
- printf("unexpected scan code at F0: %02X\n", code);
+ xprintf("unexpected scan code at F0: %02X\n", code);
clear_keyboard();
}
state = INIT;
@@ -275,7 +275,7 @@ uint8_t matrix_scan(void)
if (code < 0x80) {
matrix_break(code|0x80);
} else {
- printf("unexpected scan code at E0_F0: %02X\n", code);
+ xprintf("unexpected scan code at E0_F0: %02X\n", code);
clear_keyboard();
}
state = INIT;
@@ -371,7 +371,7 @@ uint8_t matrix_scan(void)
if (ps2_error > PS2_ERR_STARTBIT3) {
uint8_t ret = ps2_host_send(PS2_RESEND);
- printf("Resend: %02X\n", ret);
+ xprintf("Resend: %02X\n", ret);
}
return 1;
}