소스 검색

Remove legacy print backward compatiblitly (#11805)

* Remove legacy print backward compatiblitly

* Remove legacy print backward compatiblitly - core

* revert comment changes
Joel Challis 4 년 전
부모
커밋
f5a38b95c1
71개의 변경된 파일107개의 추가작업 그리고 117개의 파일을 삭제
  1. 2 2
      keyboards/40percentclub/ut47/matrix.c
  2. 1 1
      keyboards/ai03/orbit/matrix.c
  3. 2 2
      keyboards/amj96/matrix.c
  4. 1 1
      keyboards/angel64/alpha/matrix.c
  5. 1 1
      keyboards/angel64/rev1/matrix.c
  6. 2 2
      keyboards/bpiphany/pegasushoof/2013/matrix.c
  7. 2 2
      keyboards/bpiphany/pegasushoof/2015/matrix.c
  8. 1 1
      keyboards/centromere/matrix.c
  9. 1 1
      keyboards/chimera_ergo/matrix.c
  10. 1 1
      keyboards/chimera_ls/matrix.c
  11. 1 1
      keyboards/chimera_ortho/matrix.c
  12. 1 1
      keyboards/chimera_ortho_plus/matrix.c
  13. 1 1
      keyboards/comet46/matrix.c
  14. 3 3
      keyboards/converter/adb_usb/matrix.c
  15. 1 1
      keyboards/converter/hp_46010a/matrix.c
  16. 1 1
      keyboards/converter/ibm_5291/matrix.c
  17. 1 1
      keyboards/converter/m0110_usb/matrix.c
  18. 2 2
      keyboards/converter/palm_usb/matrix.c
  19. 2 2
      keyboards/converter/sun_usb/matrix.c
  20. 1 1
      keyboards/converter/xt_usb/matrix.c
  21. 2 2
      keyboards/crkbd/rev1/legacy/matrix.c
  22. 1 1
      keyboards/dc01/arrow/matrix.c
  23. 1 1
      keyboards/dc01/left/matrix.c
  24. 1 1
      keyboards/dc01/numpad/matrix.c
  25. 1 1
      keyboards/dc01/right/matrix.c
  26. 1 1
      keyboards/dichotomy/matrix.c
  27. 2 2
      keyboards/dm9records/ergoinu/matrix.c
  28. 2 2
      keyboards/ergodone/matrix.c
  29. 2 2
      keyboards/ergotaco/matrix.c
  30. 2 2
      keyboards/georgi/matrix.c
  31. 2 2
      keyboards/gergo/matrix.c
  32. 2 2
      keyboards/handwired/dactyl/matrix.c
  33. 1 1
      keyboards/handwired/datahand/matrix.c
  34. 2 2
      keyboards/handwired/frenchdev/matrix.c
  35. 2 2
      keyboards/handwired/not_so_minidox/matrix.c
  36. 1 1
      keyboards/handwired/owlet60/matrix.c
  37. 1 1
      keyboards/handwired/promethium/matrix.c
  38. 2 2
      keyboards/handwired/pterodactyl/matrix.c
  39. 2 2
      keyboards/helix/pico/matrix.c
  40. 2 2
      keyboards/helix/rev1/matrix.c
  41. 2 2
      keyboards/helix/rev2/matrix.c
  42. 2 2
      keyboards/hid_liber/matrix.c
  43. 1 1
      keyboards/honeycomb/matrix.c
  44. 2 2
      keyboards/hotdox/matrix.c
  45. 2 2
      keyboards/keyboardio/model01/matrix.c
  46. 2 2
      keyboards/kinesis/alvicstep/matrix.c
  47. 1 1
      keyboards/kmac/matrix.c
  48. 1 1
      keyboards/kmini/matrix.c
  49. 2 2
      keyboards/lily58/rev1/matrix.c
  50. 2 2
      keyboards/meira/matrix.c
  51. 1 1
      keyboards/mitosis/matrix.c
  52. 1 1
      keyboards/moon/matrix.c
  53. 1 1
      keyboards/mschwingen/modelm/matrix.c
  54. 1 1
      keyboards/nek_type_a/matrix.c
  55. 1 1
      keyboards/redox_w/matrix.c
  56. 1 1
      keyboards/redscarf_iiplus/verb/matrix.c
  57. 1 1
      keyboards/redscarf_iiplus/verc/matrix.c
  58. 1 1
      keyboards/redscarf_iiplus/verd/matrix.c
  59. 1 1
      keyboards/sirius/uni660/rev1/matrix.c
  60. 1 1
      keyboards/sirius/uni660/rev2/matrix.c
  61. 1 1
      keyboards/sx60/matrix.c
  62. 1 1
      keyboards/telophase/matrix.c
  63. 1 1
      keyboards/thedogkeyboard/matrix.c
  64. 2 2
      keyboards/ymdk/sp64/matrix.c
  65. 2 2
      keyboards/yosino58/rev1/matrix.c
  66. 1 1
      quantum/matrix_common.c
  67. 6 6
      tmk_core/common/command.c
  68. 1 1
      tmk_core/common/mousekey.c
  69. 0 10
      tmk_core/common/print.h
  70. 4 4
      tmk_core/protocol/m0110.c
  71. 1 1
      tmk_core/protocol/ps2_mouse.c

+ 2 - 2
keyboards/40percentclub/ut47/matrix.c

@@ -126,8 +126,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 1 - 1
keyboards/ai03/orbit/matrix.c

@@ -96,7 +96,7 @@ void matrix_print(void) {
   print_matrix_header();
 
   for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-    phex(row);
+    print_hex8(row);
     print(": ");
     print_matrix_row(row);
     print("\n");

+ 2 - 2
keyboards/amj96/matrix.c

@@ -130,8 +130,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 1 - 1
keyboards/angel64/alpha/matrix.c

@@ -120,7 +120,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/angel64/rev1/matrix.c

@@ -120,7 +120,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 2 - 2
keyboards/bpiphany/pegasushoof/2013/matrix.c

@@ -133,8 +133,8 @@ void matrix_print(void)
 {
 	print("\nr/c 0123456789ABCDEF\n");
 	for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-		phex(row); print(": ");
-		pbin_reverse16(matrix_get_row(row));
+		print_hex8(row); print(": ");
+		print_bin_reverse16(matrix_get_row(row));
 		print("\n");
 	}
 }

+ 2 - 2
keyboards/bpiphany/pegasushoof/2015/matrix.c

@@ -93,8 +93,8 @@ void matrix_print(void)
 {
   print("\nr/c 0123456789ABCDEF\n");
   for (uint8_t row = 0; row < matrix_rows(); row++) {
-    phex(row); print(": ");
-    pbin_reverse16(matrix_get_row(row));
+    print_hex8(row); print(": ");
+    print_bin_reverse16(matrix_get_row(row));
     print("\n");
   }
 }

+ 1 - 1
keyboards/centromere/matrix.c

@@ -137,7 +137,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/chimera_ergo/matrix.c

@@ -148,7 +148,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/chimera_ls/matrix.c

@@ -152,7 +152,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/chimera_ortho/matrix.c

@@ -138,7 +138,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/chimera_ortho_plus/matrix.c

@@ -138,7 +138,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/comet46/matrix.c

@@ -138,7 +138,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 3 - 3
keyboards/converter/adb_usb/matrix.c

@@ -129,8 +129,8 @@ void adb_mouse_task(void)
     if (debug_mouse) {
             print("adb_host_mouse_recv: "); print_bin16(codes); print("\n");
             print("adb_mouse raw: [");
-            phex(mouseacc); print(" ");
-            phex(mouse_report.buttons); print("|");
+            print_hex8(mouseacc); print(" ");
+            print_hex8(mouse_report.buttons); print("|");
             print_decs(mouse_report.x); print(" ");
             print_decs(mouse_report.y); print("]\n");
     }
@@ -173,7 +173,7 @@ uint8_t matrix_scan(void)
     key1 = codes&0xFF;
 
     if (debug_matrix && codes) {
-        print("adb_host_kbd_recv: "); phex16(codes); print("\n");
+        print("adb_host_kbd_recv: "); print_hex16(codes); print("\n");
     }
 
     if (codes == 0) {                           // no keys

+ 1 - 1
keyboards/converter/hp_46010a/matrix.c

@@ -220,7 +220,7 @@ void matrix_print(void)
     print("\nr/c 01234567\n");
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_bin_reverse8(matrix_get_row(row));
         print("\n");
     }

+ 1 - 1
keyboards/converter/ibm_5291/matrix.c

@@ -277,7 +277,7 @@ void matrix_print(void) {
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/converter/m0110_usb/matrix.c

@@ -93,7 +93,7 @@ uint8_t matrix_scan(void)
     }
 
     if (debug_enable) {
-        print("["); phex(key); print("]\n");
+        print("["); print_hex8(key); print("]\n");
     }
     
     matrix_scan_quantum();

+ 2 - 2
keyboards/converter/palm_usb/matrix.c

@@ -381,8 +381,8 @@ void matrix_print(void)
 {
     print("\nr/c 01234567\n");
     for (uint8_t row = 0; row < matrix_rows(); row++) {
-        phex(row); print(": ");
-        pbin_reverse(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse8(matrix_get_row(row));
         print("\n");
     }
 }

+ 2 - 2
keyboards/converter/sun_usb/matrix.c

@@ -181,8 +181,8 @@ void matrix_print(void)
 {
     print("\nr/c 01234567\n");
     for (uint8_t row = 0; row < matrix_rows(); row++) {
-        phex(row); print(": ");
-        pbin_reverse(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse8(matrix_get_row(row));
         print("\n");
     }
 }

+ 1 - 1
keyboards/converter/xt_usb/matrix.c

@@ -233,7 +233,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 2 - 2
keyboards/crkbd/rev1/legacy/matrix.c

@@ -350,8 +350,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 1 - 1
keyboards/dc01/arrow/matrix.c

@@ -238,7 +238,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/dc01/left/matrix.c

@@ -278,7 +278,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/dc01/numpad/matrix.c

@@ -238,7 +238,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/dc01/right/matrix.c

@@ -238,7 +238,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/dichotomy/matrix.c

@@ -210,7 +210,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 2 - 2
keyboards/dm9records/ergoinu/matrix.c

@@ -245,8 +245,8 @@ void matrix_print(void)
 {
   print("\nr/c 0123456789ABCDEF\n");
   for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-    phex(row); print(": ");
-    pbin_reverse16(matrix_get_row(row));
+    print_hex8(row); print(": ");
+    print_bin_reverse16(matrix_get_row(row));
     print("\n");
   }
 }

+ 2 - 2
keyboards/ergodone/matrix.c

@@ -152,8 +152,8 @@ void matrix_print(void)
 {
   print("\nr/c 0123456789ABCDEF\n");
   for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-    phex(row); print(": ");
-    pbin_reverse16(matrix_get_row(row));
+    print_hex8(row); print(": ");
+    print_bin_reverse16(matrix_get_row(row));
     print("\n");
   }
 }

+ 2 - 2
keyboards/ergotaco/matrix.c

@@ -220,8 +220,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 2 - 2
keyboards/georgi/matrix.c

@@ -241,8 +241,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 2 - 2
keyboards/gergo/matrix.c

@@ -285,8 +285,8 @@ inline matrix_row_t matrix_get_row(uint8_t row) { return matrix[row]; }
 void matrix_print(void) {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 2 - 2
keyboards/handwired/dactyl/matrix.c

@@ -297,8 +297,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 1 - 1
keyboards/handwired/datahand/matrix.c

@@ -75,7 +75,7 @@ void matrix_print(void) {
   print("\nr/c 01234567\n");
 
   for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-    phex(row);
+    print_hex8(row);
     print(": ");
     print_bin_reverse8(matrix_get_row(row));
     print("\n");

+ 2 - 2
keyboards/handwired/frenchdev/matrix.c

@@ -196,8 +196,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 2 - 2
keyboards/handwired/not_so_minidox/matrix.c

@@ -261,8 +261,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 1 - 1
keyboards/handwired/owlet60/matrix.c

@@ -124,7 +124,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/handwired/promethium/matrix.c

@@ -180,7 +180,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 2 - 2
keyboards/handwired/pterodactyl/matrix.c

@@ -310,8 +310,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 2 - 2
keyboards/helix/pico/matrix.c

@@ -295,8 +295,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 2 - 2
keyboards/helix/rev1/matrix.c

@@ -261,8 +261,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 2 - 2
keyboards/helix/rev2/matrix.c

@@ -309,8 +309,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 2 - 2
keyboards/hid_liber/matrix.c

@@ -246,8 +246,8 @@ void matrix_print(void)
 {
     print("\nr/c 01234567\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse8(matrix_get_row(row));
         print("\n");
     }
 }

+ 1 - 1
keyboards/honeycomb/matrix.c

@@ -186,7 +186,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 2 - 2
keyboards/hotdox/matrix.c

@@ -154,8 +154,8 @@ void matrix_print(void)
 {
   print("\nr/c 0123456789ABCDEF\n");
   for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-    phex(row); print(": ");
-    pbin_reverse16(matrix_get_row(row));
+    print_hex8(row); print(": ");
+    print_bin_reverse16(matrix_get_row(row));
     print("\n");
   }
 }

+ 2 - 2
keyboards/keyboardio/model01/matrix.c

@@ -85,8 +85,8 @@ matrix_row_t matrix_get_row(uint8_t row) {
 void matrix_print(void) {
   print("\nr/c 0123456789ABCDEF\n");
   for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-    phex(row); print(": ");
-    pbin_reverse16(matrix_get_row(row));
+    print_hex8(row); print(": ");
+    print_bin_reverse16(matrix_get_row(row));
     print("\n");
   }
 }

+ 2 - 2
keyboards/kinesis/alvicstep/matrix.c

@@ -158,8 +158,8 @@ void matrix_print(void)
 {
     print("\nr/c 01234567\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse8(matrix_get_row(row));
         print("\n");
     }
 }

+ 1 - 1
keyboards/kmac/matrix.c

@@ -72,7 +72,7 @@ void matrix_print(void) {
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row);
+        print_hex8(row);
         print(": ");
         print_matrix_row(row);
         print("\n");

+ 1 - 1
keyboards/kmini/matrix.c

@@ -126,7 +126,7 @@ void matrix_print(void)
     print("\nr/c 0123456789ABCDEFGHIJKLMNOPQRSTUV  \n");
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_bin_reverse32(matrix_get_row(row));
         print("\n");
     }

+ 2 - 2
keyboards/lily58/rev1/matrix.c

@@ -310,8 +310,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 2 - 2
keyboards/meira/matrix.c

@@ -183,8 +183,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 1 - 1
keyboards/mitosis/matrix.c

@@ -139,7 +139,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/moon/matrix.c

@@ -118,7 +118,7 @@ void matrix_print(void) {
   print_matrix_header();
 
   for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-    phex(row);
+    print_hex8(row);
     print(": ");
     print_matrix_row(row);
     print("\n");

+ 1 - 1
keyboards/mschwingen/modelm/matrix.c

@@ -63,7 +63,7 @@ static bool read_rows_on_col(matrix_row_t current_matrix[], uint8_t current_col)
     row_data |= spi_read();
 
 #if DEBUG
-    phex(~row_data);
+    print_hex8(~row_data);
     uprint(" ");
 #endif
     // For each row...

+ 1 - 1
keyboards/nek_type_a/matrix.c

@@ -236,7 +236,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/redox_w/matrix.c

@@ -146,7 +146,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/redscarf_iiplus/verb/matrix.c

@@ -124,7 +124,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/redscarf_iiplus/verc/matrix.c

@@ -124,7 +124,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/redscarf_iiplus/verd/matrix.c

@@ -124,7 +124,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/sirius/uni660/rev1/matrix.c

@@ -144,7 +144,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/sirius/uni660/rev2/matrix.c

@@ -144,7 +144,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/sx60/matrix.c

@@ -203,7 +203,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/telophase/matrix.c

@@ -148,7 +148,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 1 - 1
keyboards/thedogkeyboard/matrix.c

@@ -120,7 +120,7 @@ void matrix_print(void)
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
+        print_hex8(row); print(": ");
         print_matrix_row(row);
         print("\n");
     }

+ 2 - 2
keyboards/ymdk/sp64/matrix.c

@@ -137,8 +137,8 @@ void matrix_print(void)
 {
   print("\nr/c 0123456789ABCDEF\n");
   for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-    phex(row); print(": ");
-    pbin_reverse16(matrix_get_row(row));
+    print_hex8(row); print(": ");
+    print_bin_reverse16(matrix_get_row(row));
     print("\n");
   }
 }

+ 2 - 2
keyboards/yosino58/rev1/matrix.c

@@ -311,8 +311,8 @@ void matrix_print(void)
 {
     print("\nr/c 0123456789ABCDEF\n");
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row); print(": ");
-        pbin_reverse16(matrix_get_row(row));
+        print_hex8(row); print(": ");
+        print_bin_reverse16(matrix_get_row(row));
         print("\n");
     }
 }

+ 1 - 1
quantum/matrix_common.c

@@ -69,7 +69,7 @@ void matrix_print(void) {
     print_matrix_header();
 
     for (uint8_t row = 0; row < MATRIX_ROWS; row++) {
-        phex(row);
+        print_hex8(row);
         print(": ");
         print_matrix_row(row);
         print("\n");

+ 6 - 6
tmk_core/common/command.c

@@ -550,22 +550,22 @@ static void mousekey_param_print(void) {
 #    if !defined(NO_PRINT) && !defined(USER_PRINT)
     print("\n\t- Values -\n");
     print("1: delay(*10ms): ");
-    pdec(mk_delay);
+    print_dec(mk_delay);
     print("\n");
     print("2: interval(ms): ");
-    pdec(mk_interval);
+    print_dec(mk_interval);
     print("\n");
     print("3: max_speed: ");
-    pdec(mk_max_speed);
+    print_dec(mk_max_speed);
     print("\n");
     print("4: time_to_max: ");
-    pdec(mk_time_to_max);
+    print_dec(mk_time_to_max);
     print("\n");
     print("5: wheel_max_speed: ");
-    pdec(mk_wheel_max_speed);
+    print_dec(mk_wheel_max_speed);
     print("\n");
     print("6: wheel_time_to_max: ");
-    pdec(mk_wheel_time_to_max);
+    print_dec(mk_wheel_time_to_max);
     print("\n");
 #    endif /* !NO_PRINT */
 }

+ 1 - 1
tmk_core/common/mousekey.c

@@ -471,7 +471,7 @@ void mousekey_clear(void) {
 static void mousekey_debug(void) {
     if (!debug_mouse) return;
     print("mousekey [btn|x y v h](rep/acl): [");
-    phex(mouse_report.buttons);
+    print_hex8(mouse_report.buttons);
     print("|");
     print_decs(mouse_report.x);
     print(" ");

+ 0 - 10
tmk_core/common/print.h

@@ -258,13 +258,3 @@ extern "C"
 #    define print_val_bin_reverse32(v)
 
 #endif /* NO_PRINT */
-
-/* Backward compatiblitly for old name */
-#define pdec(data) print_dec(data)
-#define pdec16(data) print_dec(data)
-#define phex(data) print_hex8(data)
-#define phex16(data) print_hex16(data)
-#define pbin(data) print_bin8(data)
-#define pbin16(data) print_bin16(data)
-#define pbin_reverse(data) print_bin_reverse8(data)
-#define pbin_reverse16(data) print_bin_reverse16(data)

+ 4 - 4
tmk_core/protocol/m0110.c

@@ -95,11 +95,11 @@ void m0110_init(void) {
         uint8_t data;
         m0110_send(M0110_MODEL);
         data = m0110_recv();
-        print("m0110_init model: "); phex(data); print("\n");
+        print("m0110_init model: "); print_hex8(data); print("\n");
 
         m0110_send(M0110_TEST);
         data = m0110_recv();
-        print("m0110_init test: "); phex(data); print("\n");
+        print("m0110_init test: "); print_hex8(data); print("\n");
     */
 }
 
@@ -122,7 +122,7 @@ uint8_t m0110_send(uint8_t data) {
     return 1;
 ERROR:
     print("m0110_send err: ");
-    phex(m0110_error);
+    print_hex8(m0110_error);
     print("\n");
     _delay_ms(500);
     idle();
@@ -146,7 +146,7 @@ uint8_t m0110_recv(void) {
     return data;
 ERROR:
     print("m0110_recv err: ");
-    phex(m0110_error);
+    print_hex8(m0110_error);
     print("\n");
     _delay_ms(500);
     idle();

+ 1 - 1
tmk_core/protocol/ps2_mouse.c

@@ -190,7 +190,7 @@ static inline void ps2_mouse_clear_report(report_mouse_t *mouse_report) {
 static inline void ps2_mouse_print_report(report_mouse_t *mouse_report) {
     if (!debug_mouse) return;
     print("ps2_mouse: [");
-    phex(mouse_report->buttons);
+    print_hex8(mouse_report->buttons);
     print("|");
     print_hex8((uint8_t)mouse_report->x);
     print(" ");