Remove matrix_key_count() (#16603)

* Remove `matrix_key_count()`

* Remove `matrix_bitpop()`
This commit is contained in:
Ryan 2022-03-10 23:18:07 +11:00 committed by GitHub
parent dc8db6551d
commit bd70f5261c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 4 additions and 527 deletions

View file

@ -130,15 +130,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;
}
/* Column pin configuration
* col: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
* pin: F7 F6 F5 F4 F1 F0 E6 D7 D6 D5 D1 D0 B7 B6 B0 C7