summaryrefslogtreecommitdiff
path: root/keyboard/hid_liber/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/hid_liber/matrix.c')
-rw-r--r--keyboard/hid_liber/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/hid_liber/matrix.c b/keyboard/hid_liber/matrix.c
index 2d939ef63b..12ade33027 100644
--- a/keyboard/hid_liber/matrix.c
+++ b/keyboard/hid_liber/matrix.c
@@ -173,7 +173,6 @@ uint8_t matrix_scan(void)
if (debouncing) {
debug("bounce!: "); debug_hex(debouncing); print("\n");
}
- _delay_ms(1); // improved affect on bouncing
debouncing = DEBOUNCE;
}
}
@@ -181,6 +180,7 @@ uint8_t matrix_scan(void)
}
if (debouncing) {
+ _delay_ms(1);
debouncing--;
}