summaryrefslogtreecommitdiff
path: root/keyboards/duck/octagon/v2/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/duck/octagon/v2/matrix.c')
-rw-r--r--keyboards/duck/octagon/v2/matrix.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/duck/octagon/v2/matrix.c b/keyboards/duck/octagon/v2/matrix.c
index 25d1e45b05..98bf03d769 100644
--- a/keyboards/duck/octagon/v2/matrix.c
+++ b/keyboards/duck/octagon/v2/matrix.c
@@ -22,6 +22,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "print.h"
#include "debug.h"
+#ifndef DEBOUNCE
+# define DEBOUNCE 5
+#endif
+
static uint8_t debouncing = DEBOUNCE;
/* matrix state(1:on, 0:off) */
@@ -74,7 +78,7 @@ void matrix_init(void) {
matrix_debouncing[i] = 0;
}
- matrix_init_quantum();
+ matrix_init_kb();
}
uint8_t matrix_scan(void) {
@@ -108,7 +112,7 @@ uint8_t matrix_scan(void) {
}
}
- matrix_scan_quantum();
+ matrix_scan_kb();
return 1;
}