aboutsummaryrefslogtreecommitdiff
path: root/keyboards/clueboard/60/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/clueboard/60/matrix.c')
-rw-r--r--keyboards/clueboard/60/matrix.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/clueboard/60/matrix.c b/keyboards/clueboard/60/matrix.c
index 4023bc03c..7c38a3bd4 100644
--- a/keyboards/clueboard/60/matrix.c
+++ b/keyboards/clueboard/60/matrix.c
@@ -71,10 +71,7 @@ void matrix_init(void) {
71 memset(matrix, 0, MATRIX_ROWS * sizeof(matrix_row_t)); 71 memset(matrix, 0, MATRIX_ROWS * sizeof(matrix_row_t));
72 memset(matrix_debouncing, 0, MATRIX_COLS * sizeof(matrix_row_t)); 72 memset(matrix_debouncing, 0, MATRIX_COLS * sizeof(matrix_row_t));
73 73
74 /* Setup capslock */ 74 palClearPad(GPIOB, 7); // Turn off capslock
75 // palSetPadMode(GPIOB, 7, PAL_MODE_OUTPUT_PUSHPULL);
76 // palClearPad(GPIOB, 7);
77
78 matrix_init_quantum(); 75 matrix_init_quantum();
79} 76}
80 77
@@ -138,6 +135,7 @@ uint8_t matrix_scan(void) {
138 debouncing_time = timer_read(); 135 debouncing_time = timer_read();
139 } 136 }
140 } 137 }
138
141 if (debouncing && timer_elapsed(debouncing_time) > DEBOUNCE) { 139 if (debouncing && timer_elapsed(debouncing_time) > DEBOUNCE) {
142 for (int row = 0; row < MATRIX_ROWS; row++) { 140 for (int row = 0; row < MATRIX_ROWS; row++) {
143 matrix[row] = 0; 141 matrix[row] = 0;