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
51 changed files with 4 additions and 527 deletions

View File

@@ -118,15 +118,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
* pin: D7 E6 B4 B5 B6 B2 B3 B1 F7 F6 F5 F4