summaryrefslogtreecommitdiff
path: root/keyboards/dc01
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/dc01
parent99918945149f98cf73f9365b0ad49a2fc07d1152 (diff)
Remove matrix_init_quantum/matrix_scan_quantum (#19806)
Diffstat (limited to 'keyboards/dc01')
-rw-r--r--keyboards/dc01/arrow/matrix.c14
-rw-r--r--keyboards/dc01/left/matrix.c14
-rw-r--r--keyboards/dc01/numpad/matrix.c14
-rw-r--r--keyboards/dc01/right/matrix.c14
4 files changed, 8 insertions, 48 deletions
diff --git a/keyboards/dc01/arrow/matrix.c b/keyboards/dc01/arrow/matrix.c
index e7c3bec2b5..211855c300 100644
--- a/keyboards/dc01/arrow/matrix.c
+++ b/keyboards/dc01/arrow/matrix.c
@@ -89,16 +89,6 @@ static matrix_row_t matrix_debouncing[MATRIX_ROWS];
#endif
__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();
}
@@ -143,7 +133,7 @@ void matrix_init(void) {
matrix_debouncing[i] = 0;
}
- matrix_init_quantum();
+ matrix_init_kb();
}
uint8_t matrix_scan(void)
@@ -198,7 +188,7 @@ uint8_t matrix_scan(void)
i2c_slave_reg[i+2] = matrix[i]; //send matrix over i2c
}
- matrix_scan_quantum();
+ matrix_scan_kb();
return 1;
}
diff --git a/keyboards/dc01/left/matrix.c b/keyboards/dc01/left/matrix.c
index 8b8f89a081..d384c6a4bc 100644
--- a/keyboards/dc01/left/matrix.c
+++ b/keyboards/dc01/left/matrix.c
@@ -93,16 +93,6 @@ static matrix_row_t matrix_debouncing[MATRIX_ROWS];
#endif
__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();
}
@@ -154,7 +144,7 @@ void matrix_init(void) {
matrix_debouncing[i] = 0;
}
- matrix_init_quantum();
+ matrix_init_kb();
}
uint8_t matrix_scan(void)
@@ -223,7 +213,7 @@ if (i2c_transaction(SLAVE_I2C_ADDRESS_NUMPAD, 0x1FFFF, 11)) {
}
}
- matrix_scan_quantum();
+ matrix_scan_kb();
return 1;
}
diff --git a/keyboards/dc01/numpad/matrix.c b/keyboards/dc01/numpad/matrix.c
index 1dc90a6b84..73b245f56e 100644
--- a/keyboards/dc01/numpad/matrix.c
+++ b/keyboards/dc01/numpad/matrix.c
@@ -89,16 +89,6 @@ static matrix_row_t matrix_debouncing[MATRIX_ROWS];
#endif
__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();
}
@@ -143,7 +133,7 @@ void matrix_init(void) {
matrix_debouncing[i] = 0;
}
- matrix_init_quantum();
+ matrix_init_kb();
}
uint8_t matrix_scan(void)
@@ -198,7 +188,7 @@ uint8_t matrix_scan(void)
i2c_slave_reg[i+2] = matrix[i]; //send matrix over i2c
}
- matrix_scan_quantum();
+ matrix_scan_kb();
return 1;
}
diff --git a/keyboards/dc01/right/matrix.c b/keyboards/dc01/right/matrix.c
index f21dec1d2b..04a6d03804 100644
--- a/keyboards/dc01/right/matrix.c
+++ b/keyboards/dc01/right/matrix.c
@@ -90,16 +90,6 @@ static matrix_row_t matrix_debouncing[MATRIX_ROWS];
#endif
__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();
}
@@ -144,7 +134,7 @@ void matrix_init(void) {
matrix_debouncing[i] = 0;
}
- matrix_init_quantum();
+ matrix_init_kb();
}
uint8_t matrix_scan(void)
@@ -199,7 +189,7 @@ uint8_t matrix_scan(void)
i2c_slave_reg[i+2] = matrix[i]; //send matrix over i2c
}
- matrix_scan_quantum();
+ matrix_scan_kb();
return 1;
}