X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboards%2Fduck%2Foctagon%2Fv1%2Fmatrix.c;h=a2bea865bc3a0807393396b41850581a643d1634;hb=faaaa134fd436be400aa2c7841b38907899d49a6;hp=233404ed30f6f6daf26ec94f8fdbe9a4c1a38768;hpb=fe6b8edd581c334a92a97c15faced95a12d5e882;p=qmk_firmware.git diff --git a/keyboards/duck/octagon/v1/matrix.c b/keyboards/duck/octagon/v1/matrix.c index 233404ed3..a2bea865b 100644 --- a/keyboards/duck/octagon/v1/matrix.c +++ b/keyboards/duck/octagon/v1/matrix.c @@ -22,7 +22,7 @@ along with this program. If not, see . #include "print.h" #include "debug.h" -static uint8_t debouncing = DEBOUNCING_DELAY; +static uint8_t debouncing = DEBOUNCE; /* matrix state(1:on, 0:off) */ static matrix_row_t matrix[MATRIX_ROWS]; @@ -87,7 +87,7 @@ uint8_t matrix_scan(void) { if (debouncing) { dprint("bounce!: "); dprintf("%02X", debouncing); dprintln(); } - debouncing = DEBOUNCING_DELAY; + debouncing = DEBOUNCE; } } unselect_cols();