Remove legacy print backward compatiblitly (#11805)
* Remove legacy print backward compatiblitly * Remove legacy print backward compatiblitly - core * revert comment changes
This commit is contained in:
@@ -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
|
||||
|
@@ -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");
|
||||
}
|
||||
|
@@ -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");
|
||||
}
|
||||
|
@@ -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();
|
||||
|
@@ -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");
|
||||
}
|
||||
}
|
||||
|
@@ -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");
|
||||
}
|
||||
}
|
||||
|
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user