pull/427/head
Jesse Vincent 6 years ago
parent 86d014e7e1
commit febf2babbc

@ -80,8 +80,7 @@ void Atreus::setup(void) {
TIMSK1 = _BV(TOIE1);
}
void Atreus::selectRow(uint8_t row)
{
void Atreus::selectRow(uint8_t row) {
switch (row) {
case 0:
DDRD |= (_BV(0));
@ -104,8 +103,7 @@ void Atreus::selectRow(uint8_t row)
}
}
void Atreus::unselectRow(uint8_t row)
{
void Atreus::unselectRow(uint8_t row) {
switch (row) {
case 0:
DDRD &= ~(_BV(0));
@ -142,8 +140,7 @@ uint16_t Atreus::readCols() {
(PINF & (_BV(7)) ? 0 : (_BV(10))));
}
void Atreus::readMatrixRow(uint8_t current_row)
{
void Atreus::readMatrixRow(uint8_t current_row) {
uint16_t mask, cols;
previousKeyState_[current_row] = keyState_[current_row];

Loading…
Cancel
Save