From 2d071e7109a12e0fa80667b7ebf1537e47fdff68 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 31 Jan 2016 23:20:28 -0800 Subject: [PATCH] Don't need that layer of indirection (it was accidentally not removed when this code was refactored) --- implementation/Model01Beta.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/implementation/Model01Beta.cpp b/implementation/Model01Beta.cpp index 94d295cc..59d0c4fd 100644 --- a/implementation/Model01Beta.cpp +++ b/implementation/Model01Beta.cpp @@ -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); } }