diff options
author | tmk <nobody@nowhere> | 2013-10-04 15:03:42 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-10-04 15:03:42 +0900 |
commit | cb434cfebc607db15b52a42adae6423bd40f1f98 (patch) | |
tree | 65788f2ca9a37cfdb5d553e2bbf7d93e4ed01372 /converter | |
parent | 7e8a85caadc0c5e4a8ccccf7bf1fa1f4220c9fae (diff) | |
download | qmk_firmware-cb434cfebc607db15b52a42adae6423bd40f1f98.tar.gz |
Remove clear matrix on ADB recv error
Diffstat (limited to 'converter')
-rw-r--r-- | converter/adb_usb/matrix.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/converter/adb_usb/matrix.c b/converter/adb_usb/matrix.c index a616d10e4..ee17f655f 100644 --- a/converter/adb_usb/matrix.c +++ b/converter/adb_usb/matrix.c @@ -100,9 +100,7 @@ uint8_t matrix_scan(void) } else if (codes == 0xFFFF) { // power key release register_key(0xFF); } else if (key0 == 0xFF) { // error - if (debug_matrix) print("adb_host_kbd_recv: ERROR(matrix cleared.)\n"); - // clear matrix to unregister all keys - for (uint8_t i=0; i < MATRIX_ROWS; i++) matrix[i] = 0x00; + xprintf("adb_host_kbd_recv: ERROR(%02X)\n", codes); return key1; } else { register_key(key0); |