1
0
Fork 0

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

@ -136,15 +136,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 += bitpop32(matrix[i]);
}
return count;
}
static void init_ports(void)
{
// Rows are inputs (inputs are 0)
@ -268,4 +259,4 @@ static void select_col(uint8_t col)
PORTB |= 0b00000001;
break;
}
}
}