diff options
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r-- | quantum/quantum.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 695da5fdc..bf159644a 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
@@ -213,6 +213,9 @@ bool process_record_quantum(keyrecord_t *record) { | |||
213 | #if defined(RGB_MATRIX_ENABLE) | 213 | #if defined(RGB_MATRIX_ENABLE) |
214 | process_rgb_matrix(keycode, record) && | 214 | process_rgb_matrix(keycode, record) && |
215 | #endif | 215 | #endif |
216 | #if defined(VIA_ENABLE) | ||
217 | process_record_via(keycode, record) && | ||
218 | #endif | ||
216 | process_record_kb(keycode, record) && | 219 | process_record_kb(keycode, record) && |
217 | #if defined(MIDI_ENABLE) && defined(MIDI_ADVANCED) | 220 | #if defined(MIDI_ENABLE) && defined(MIDI_ADVANCED) |
218 | process_midi(keycode, record) && | 221 | process_midi(keycode, record) && |
@@ -560,9 +563,7 @@ __attribute__((weak)) void bootmagic_lite(void) { | |||
560 | 563 | ||
561 | // We need multiple scans because debouncing can't be turned off. | 564 | // We need multiple scans because debouncing can't be turned off. |
562 | matrix_scan(); | 565 | matrix_scan(); |
563 | #if defined(DEBOUNCING_DELAY) && DEBOUNCING_DELAY > 0 | 566 | #if defined(DEBOUNCE) && DEBOUNCE > 0 |
564 | wait_ms(DEBOUNCING_DELAY * 2); | ||
565 | #elif defined(DEBOUNCE) && DEBOUNCE > 0 | ||
566 | wait_ms(DEBOUNCE * 2); | 567 | wait_ms(DEBOUNCE * 2); |
567 | #else | 568 | #else |
568 | wait_ms(30); | 569 | wait_ms(30); |