diff options
| -rw-r--r-- | quantum/debounce/debounce_sym_g.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/quantum/debounce/debounce_sym_g.c b/quantum/debounce/debounce_sym_g.c index 4a6996c73..e365cdf03 100644 --- a/quantum/debounce/debounce_sym_g.c +++ b/quantum/debounce/debounce_sym_g.c | |||
| @@ -23,12 +23,11 @@ When no state changes have occured for DEBOUNCE milliseconds, we push the state. | |||
| 23 | #define DEBOUNCE 5 | 23 | #define DEBOUNCE 5 |
| 24 | #endif | 24 | #endif |
| 25 | 25 | ||
| 26 | static bool debouncing = false; | ||
| 27 | static uint16_t debouncing_time; | ||
| 28 | |||
| 29 | void debounce_init(uint8_t num_rows) {} | 26 | void debounce_init(uint8_t num_rows) {} |
| 27 | static bool debouncing = false; | ||
| 30 | 28 | ||
| 31 | #if DEBOUNCE > 0 | 29 | #if DEBOUNCE > 0 |
| 30 | static uint16_t debouncing_time; | ||
| 32 | void debounce(matrix_row_t raw[], matrix_row_t cooked[], uint8_t num_rows, bool changed) | 31 | void debounce(matrix_row_t raw[], matrix_row_t cooked[], uint8_t num_rows, bool changed) |
| 33 | { | 32 | { |
| 34 | if (changed) { | 33 | if (changed) { |
