summaryrefslogtreecommitdiffstats
path: root/keyboards/duck/lightsaver/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/duck/lightsaver/matrix.c')
-rw-r--r--keyboards/duck/lightsaver/matrix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/duck/lightsaver/matrix.c b/keyboards/duck/lightsaver/matrix.c
index a07cdd0d16..543205c0b7 100644
--- a/keyboards/duck/lightsaver/matrix.c
+++ b/keyboards/duck/lightsaver/matrix.c
@@ -87,6 +87,9 @@ uint8_t matrix_scan(void) {
bool curr_bit = rows & (1<<row);
if (prev_bit != curr_bit) {
matrix_debouncing[row] ^= ((matrix_row_t)1<<col);
+ if (debouncing) {
+ dprint("bounce!: "); dprintf("%02X", debouncing); dprintln();
+ }
debouncing = DEBOUNCING_DELAY;
}
}