diff options
Diffstat (limited to 'quantum/debounce/eager_pk.c')
| -rw-r--r-- | quantum/debounce/eager_pk.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/quantum/debounce/eager_pk.c b/quantum/debounce/eager_pk.c index 6fa956bf3..93a40ad44 100644 --- a/quantum/debounce/eager_pk.c +++ b/quantum/debounce/eager_pk.c | |||
| @@ -27,13 +27,7 @@ No further inputs are accepted until DEBOUNCE milliseconds have occurred. | |||
| 27 | # define DEBOUNCE 5 | 27 | # define DEBOUNCE 5 |
| 28 | #endif | 28 | #endif |
| 29 | 29 | ||
| 30 | #if (MATRIX_COLS <= 8) | 30 | #define ROW_SHIFTER ((matrix_row_t)1) |
| 31 | # define ROW_SHIFTER ((uint8_t)1) | ||
| 32 | #elif (MATRIX_COLS <= 16) | ||
| 33 | # define ROW_SHIFTER ((uint16_t)1) | ||
| 34 | #elif (MATRIX_COLS <= 32) | ||
| 35 | # define ROW_SHIFTER ((uint32_t)1) | ||
| 36 | #endif | ||
| 37 | 31 | ||
| 38 | #define debounce_counter_t uint8_t | 32 | #define debounce_counter_t uint8_t |
| 39 | 33 | ||
