diff options
Diffstat (limited to 'keyboards/planck/rev6_drop/matrix.c')
-rw-r--r-- | keyboards/planck/rev6_drop/matrix.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/planck/rev6_drop/matrix.c b/keyboards/planck/rev6_drop/matrix.c index d10d94dcf8..6f7d6725a1 100644 --- a/keyboards/planck/rev6_drop/matrix.c +++ b/keyboards/planck/rev6_drop/matrix.c @@ -17,6 +17,10 @@ #include "quantum.h" +#ifndef DEBOUNCE +# define DEBOUNCE 5 +#endif + /* * col: { B11, B10, B2, B1, A7, B0 } * row: { A10, A9, A8, B15, C13, C14, C15, A2 } @@ -63,7 +67,7 @@ void matrix_init(void) { memset(matrix, 0, MATRIX_ROWS * sizeof(matrix_row_t)); memset(matrix_debouncing, 0, MATRIX_COLS * sizeof(matrix_row_t)); - matrix_init_quantum(); + matrix_init_kb(); } uint8_t matrix_scan(void) { @@ -138,7 +142,7 @@ uint8_t matrix_scan(void) { debouncing = false; } - matrix_scan_quantum(); + matrix_scan_kb(); return 1; } |