summaryrefslogtreecommitdiff
path: root/keyboards/kmac
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-02-11 03:47:17 +0000
committerGitHub <noreply@github.com>2023-02-11 03:47:17 +0000
commit11d49d00e74618500e5c51e4c7f858eb906ccea8 (patch)
treeee827f3ed92a56861f6f5bf1d5f33d6068458d2c /keyboards/kmac
parent99918945149f98cf73f9365b0ad49a2fc07d1152 (diff)
Remove matrix_init_quantum/matrix_scan_quantum (#19806)
Diffstat (limited to 'keyboards/kmac')
-rw-r--r--keyboards/kmac/matrix.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/keyboards/kmac/matrix.c b/keyboards/kmac/matrix.c
index 2052a9be71..6569867032 100644
--- a/keyboards/kmac/matrix.c
+++ b/keyboards/kmac/matrix.c
@@ -45,10 +45,6 @@ static const pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;
static matrix_row_t raw_matrix[MATRIX_ROWS]; // raw values
static matrix_row_t matrix[MATRIX_ROWS]; // debounced values
-__attribute__((weak)) void matrix_init_quantum(void) { matrix_init_kb(); }
-
-__attribute__((weak)) void matrix_scan_quantum(void) { matrix_scan_kb(); }
-
__attribute__((weak)) void matrix_init_kb(void) { matrix_init_user(); }
__attribute__((weak)) void matrix_scan_kb(void) { matrix_scan_user(); }
@@ -191,7 +187,7 @@ void matrix_init(void) {
debounce_init(MATRIX_ROWS);
- matrix_init_quantum();
+ matrix_init_kb();
}
uint8_t matrix_scan(void) {
@@ -203,7 +199,7 @@ uint8_t matrix_scan(void) {
debounce(raw_matrix, matrix, MATRIX_ROWS, changed);
- matrix_scan_quantum();
+ matrix_scan_kb();
return (uint8_t)changed;
}