aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kmini/matrix.c
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-06-06 12:09:56 -0700
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-06-06 12:09:56 -0700
commitfaaaa134fd436be400aa2c7841b38907899d49a6 (patch)
tree9deaea82d250f349b314ec89d369f068ddd75489 /keyboards/kmini/matrix.c
parentfe6b8edd581c334a92a97c15faced95a12d5e882 (diff)
downloadqmk_firmware-faaaa134fd436be400aa2c7841b38907899d49a6.tar.gz
qmk_firmware-faaaa134fd436be400aa2c7841b38907899d49a6.zip
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
Diffstat (limited to 'keyboards/kmini/matrix.c')
-rwxr-xr-xkeyboards/kmini/matrix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/kmini/matrix.c b/keyboards/kmini/matrix.c
index 69135909a..9888f1a76 100755
--- a/keyboards/kmini/matrix.c
+++ b/keyboards/kmini/matrix.c
@@ -27,8 +27,8 @@
27 27
28 28
29/* Set 0 if debouncing isn't needed */ 29/* Set 0 if debouncing isn't needed */
30#ifndef DEBOUNCING_DELAY 30#ifndef DEBOUNCE
31# define DEBOUNCING_DELAY 5 31# define DEBOUNCE 5
32#endif 32#endif
33 33
34#define COL_SHIFTER ((uint32_t)1) 34#define COL_SHIFTER ((uint32_t)1)
@@ -98,7 +98,7 @@ uint8_t matrix_scan(void)
98 } 98 }
99 } 99 }
100 100
101 if (debouncing && (timer_elapsed(debouncing_time) > DEBOUNCING_DELAY)) { 101 if (debouncing && (timer_elapsed(debouncing_time) > DEBOUNCE)) {
102 for (uint8_t i = 0; i < MATRIX_ROWS; i++) { 102 for (uint8_t i = 0; i < MATRIX_ROWS; i++) {
103 matrix[i] = matrix_debouncing[i]; 103 matrix[i] = matrix_debouncing[i];
104 } 104 }