summaryrefslogtreecommitdiff
path: root/keyboards/yosino58/rev1/matrix.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-03-10 23:18:07 +1100
committerGitHub <noreply@github.com>2022-03-10 12:18:07 +0000
commitbd70f5261cbb7fd4700bf9876da94c9661dadf63 (patch)
treee88eb58a89650625674cdd779794aec957f4522e /keyboards/yosino58/rev1/matrix.c
parentdc8db6551d2d11534920d1d723d06a99c1b93071 (diff)
downloadqmk_firmware-bd70f5261cbb7fd4700bf9876da94c9661dadf63.tar.gz
qmk_firmware-bd70f5261cbb7fd4700bf9876da94c9661dadf63.zip
Remove `matrix_key_count()` (#16603)
* Remove `matrix_key_count()` * Remove `matrix_bitpop()`
Diffstat (limited to 'keyboards/yosino58/rev1/matrix.c')
-rw-r--r--keyboards/yosino58/rev1/matrix.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/keyboards/yosino58/rev1/matrix.c b/keyboards/yosino58/rev1/matrix.c
index e2be7113bf..802ce00cc6 100644
--- a/keyboards/yosino58/rev1/matrix.c
+++ b/keyboards/yosino58/rev1/matrix.c
@@ -311,15 +311,6 @@ void matrix_print(void)
}
}
-uint8_t matrix_key_count(void)
-{
- uint8_t count = 0;
- for (uint8_t i = 0; i < MATRIX_ROWS; i++) {
- count += bitpop16(matrix[i]);
- }
- return count;
-}
-
static void init_cols(void)
{
for(int x = 0; x < MATRIX_COLS; x++) {