HCoop
/
jackhill
/
qmk
/
firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Keyboard] Small Refactor of Duck boards (#5521)
[jackhill/qmk/firmware.git]
/
keyboards
/
duck
/
octagon
/
v2
/
matrix.c
diff --git
a/keyboards/duck/octagon/v2/matrix.c
b/keyboards/duck/octagon/v2/matrix.c
index
a63a376
..
e6e7046
100644
(file)
--- a/
keyboards/duck/octagon/v2/matrix.c
+++ b/
keyboards/duck/octagon/v2/matrix.c
@@
-89,6
+89,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;
}
}