aboutsummaryrefslogtreecommitdiff
path: root/adb/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'adb/matrix.c')
-rw-r--r--adb/matrix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/adb/matrix.c b/adb/matrix.c
index d0643371e..ca8858d0b 100644
--- a/adb/matrix.c
+++ b/adb/matrix.c
@@ -76,9 +76,6 @@ uint8_t matrix_scan(void)
76 codes = adb_host_kbd_recv(); 76 codes = adb_host_kbd_recv();
77 key0 = codes>>8; 77 key0 = codes>>8;
78 key1 = codes&0xFF; 78 key1 = codes&0xFF;
79 if (debug_matrix) {
80 //print("adb_host_kbd_recv: "); phex16(codes); print("\n");
81 }
82 79
83 if (codes == 0) { // no keys 80 if (codes == 0) { // no keys
84 return 0; 81 return 0;
@@ -91,6 +88,9 @@ uint8_t matrix_scan(void)
91 _register_key(key1); 88 _register_key(key1);
92 } 89 }
93 90
91 if (debug_matrix && matrix_is_modified()) {
92 print("adb_host_kbd_recv: "); phex16(codes); print("\n");
93 }
94 return 1; 94 return 1;
95} 95}
96 96