]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
Improve matrix print for Phantom.
authorMathias Andersson <wraul@dbox.se>
Sun, 28 Apr 2013 16:57:06 +0000 (18:57 +0200)
committerMathias Andersson <wraul@dbox.se>
Wed, 1 May 2013 11:21:08 +0000 (13:21 +0200)
keyboard/phantom/matrix.c

index 7b2461dcc7d3e78165e44121f66a798cd6e52153..92db6817c04a4c2de930ea104fe3c3733289d074 100644 (file)
@@ -220,10 +220,10 @@ matrix_row_t matrix_get_row(uint8_t row)
 
 void matrix_print(void)
 {
-    print("\nr/c 01234567\n");
+    print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
         phex(row); print(": ");
-        pbin_reverse(matrix_get_row(row));
+        print_bin_reverse32(matrix_get_row(row));
         print("\n");
     }
 }