summaryrefslogtreecommitdiff
path: root/converter/adb_usb/matrix.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-11-08 04:33:13 +0900
committertmk <nobody@nowhere>2013-11-08 04:37:09 +0900
commitc531a185a48a2084c20cc17c40e8274bc27fd734 (patch)
tree9170aba61e0c04d2215ee73edddfa7c831009c17 /converter/adb_usb/matrix.c
parent84b9ce7125d6a2a376419694ac461214333b12bc (diff)
Disable BOOTMAGIC and fix debug prints of adb_usb
Diffstat (limited to 'converter/adb_usb/matrix.c')
-rw-r--r--converter/adb_usb/matrix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/converter/adb_usb/matrix.c b/converter/adb_usb/matrix.c
index 54be2b0f57..d1b67d38d6 100644
--- a/converter/adb_usb/matrix.c
+++ b/converter/adb_usb/matrix.c
@@ -79,9 +79,9 @@ void matrix_init(void)
for (uint8_t i=0; i < MATRIX_ROWS; i++) matrix[i] = 0x00;
debug_enable = true;
- debug_matrix = true;
- debug_keyboard = true;
- debug_mouse = true;
+ //debug_matrix = true;
+ //debug_keyboard = true;
+ //debug_mouse = true;
print("debug enabled.\n");
return;
}
@@ -108,7 +108,7 @@ uint8_t matrix_scan(void)
} else if (codes == 0xFFFF) { // power key release
register_key(0xFF);
} else if (key0 == 0xFF) { // error
- xprintf("adb_host_kbd_recv: ERROR(%02X)\n", codes);
+ xprintf("adb_host_kbd_recv: ERROR(%d)\n", codes);
return key1;
} else {
register_key(key0);