summaryrefslogtreecommitdiff
path: root/keyboards/sirius/unigo66
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/sirius/unigo66
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/sirius/unigo66')
-rw-r--r--keyboards/sirius/unigo66/custom_matrix.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/keyboards/sirius/unigo66/custom_matrix.cpp b/keyboards/sirius/unigo66/custom_matrix.cpp
index 955ce189a8..72e120400f 100644
--- a/keyboards/sirius/unigo66/custom_matrix.cpp
+++ b/keyboards/sirius/unigo66/custom_matrix.cpp
@@ -205,18 +205,6 @@ extern "C"
return row_bits;
}
- uint8_t matrix_key_count(void) {
- uint8_t count = 0;
-
- count += bitpop(local_keyboard_report.mods);
- for (uint8_t i = 0; i < KEYBOARD_REPORT_KEYS; i++) {
- if (IS_ANY(local_keyboard_report.keys[i])) {
- count++;
- }
- }
- return count;
- }
-
void matrix_print(void) {
print("\nr/c 0123456789ABCDEF\n");
for (uint8_t row = 0; row < matrix_rows(); row++) {