lotus: Fix keyboard
Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
parent
d9f68c42c5
commit
b3f786711d
@ -505,7 +505,6 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
||||
drive_col(col, false);
|
||||
for (int row = 0; row < MATRIX_ROWS; row++) {
|
||||
// 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);
|
||||
@ -580,6 +579,10 @@ void matrix_init_custom(void) {
|
||||
setPinOutput(KSO14);
|
||||
setPinOutput(KSO15);
|
||||
|
||||
// Set unused pins to input to avoid interfering. They're hooked up to rows 5 and 6
|
||||
setPinInput(GP6);
|
||||
setPinInput(GP7);
|
||||
|
||||
const ADCConfig adcConfig = {
|
||||
// Default clock divider
|
||||
.div_int = 0,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user