Don't need that layer of indirection

(it was accidentally not removed when this code was refactored)
pull/18/head
Jesse Vincent 9 years ago
parent 38de84caa5
commit 2d071e7109

@ -44,18 +44,18 @@ void Model01Beta_::led_sync() {
void Model01Beta_::scan_matrix() {
//scan the Keyboard matrix looking for connections
for (byte row = 0; row < LEFT_ROWS; row++) {
KeyboardHardware.scan_row(row);
scan_row(row);
for (byte col = 0; col < LEFT_COLS; col++) {
KeyboardHardware.scan_left_col(row,col,&matrixState[row][col]);
scan_left_col(row,col,&matrixState[row][col]);
handle_key_event(row, col);
if (KeyboardHardware.right_hand_connected()) {
KeyboardHardware.scan_right_col(row,col,&matrixState[row][(COLS - 1) - col]);
if (right_hand_connected()) {
scan_right_col(row,col,&matrixState[row][(COLS - 1) - col]);
handle_key_event(row, (COLS - 1) - col);
}
}
KeyboardHardware.finish_scanning_row(row);
finish_scanning_row(row);
}
}

Loading…
Cancel
Save