summaryrefslogtreecommitdiff
path: root/quantum/quantum.c
diff options
context:
space:
mode:
authorWilba <Jason.S.Williams@gmail.com>2020-01-04 07:52:00 +1100
committerFlorian Didron <fdidron@users.noreply.github.com>2020-02-26 10:15:12 +0900
commit9b9e5e1d474c4386830544a9487c1977fed93e31 (patch)
treefbf734d5fd6af4110a0b2d2d252fa6e14a3b716d /quantum/quantum.c
parente41ab50016345f7813d250772457a1463e0cd973 (diff)
VIA configurator refactor
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r--quantum/quantum.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 755686b341..c25877b8c6 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -210,6 +210,9 @@ bool process_record_quantum(keyrecord_t *record) {
#if defined(RGB_MATRIX_ENABLE)
process_rgb_matrix(keycode, record) &&
#endif
+#if defined(VIA_ENABLE)
+ process_record_via(keycode, record) &&
+#endif
process_record_kb(keycode, record) &&
#if defined(MIDI_ENABLE) && defined(MIDI_ADVANCED)
process_midi(keycode, record) &&
@@ -555,9 +558,7 @@ __attribute__((weak)) void bootmagic_lite(void) {
// We need multiple scans because debouncing can't be turned off.
matrix_scan();
-#if defined(DEBOUNCING_DELAY) && DEBOUNCING_DELAY > 0
- wait_ms(DEBOUNCING_DELAY * 2);
-#elif defined(DEBOUNCE) && DEBOUNCE > 0
+#if defined(DEBOUNCE) && DEBOUNCE > 0
wait_ms(DEBOUNCE * 2);
#else
wait_ms(30);