From d45d9dc9f29d5e524220e98ab45aaa44ddd601c7 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Wed, 1 Feb 2023 10:01:46 +0800 Subject: [PATCH] lotus: Remove debug Signed-off-by: Daniel Schaefer --- keyboards/lotus/matrix.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/keyboards/lotus/matrix.c b/keyboards/lotus/matrix.c index 7226ba0884..81695347a6 100644 --- a/keyboards/lotus/matrix.c +++ b/keyboards/lotus/matrix.c @@ -241,7 +241,7 @@ static void mux_select_row(int row) { (index & 0x4) > 0 }; (void)bits; - uprintf("Mux A: %d, B: %d, C: %d, KSI%d, X%d\n", bits[0], bits[1], bits[2], row, index); + //uprintf("Mux A: %d, B: %d, C: %d, KSI%d, X%d\n", bits[0], bits[1], bits[2], row, index); writePin(MUX_A, bits[0]); writePin(MUX_B, bits[1]); writePin(MUX_C, bits[2]); @@ -290,8 +290,8 @@ static bool interpret_adc_row(matrix_row_t cur_matrix[], adc10ksample_t voltage, } cur_matrix[row] = new_row; - // Return false to not send keys to the host - return false; + // Debug keyboard + //return false; return changed; } #endif @@ -504,8 +504,8 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) { // Drive column low so we can measure the resistors on each row in this column drive_col(col, false); for (int row = 0; row < MATRIX_ROWS; row++) { - // Focus on rows 5 and 6 to debug them - if (row != 5 && row != 6) continue; + // Debug for keyboard. Row 5 and 6 don't seem to work + if (row == 5 || row == 6) continue; //print("\n"); // Read ADC for this row mux_select_row(row);