aboutsummaryrefslogtreecommitdiff
path: root/quantum/split_common/matrix.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-05-21 17:39:29 +0000
committerQMK Bot <hello@qmk.fm>2020-05-21 17:39:29 +0000
commitc63fd051dade376ec8d44245b3b8058dd5549af6 (patch)
treeeacca4fdb0b8156ebad95a14e97fe05473113bbc /quantum/split_common/matrix.c
parent65150984bd1f9c301b080652fe60b181765bb9be (diff)
downloadqmk_firmware-c63fd051dade376ec8d44245b3b8058dd5549af6.tar.gz
qmk_firmware-c63fd051dade376ec8d44245b3b8058dd5549af6.zip
format code according to conventions [skip ci]
Diffstat (limited to 'quantum/split_common/matrix.c')
-rw-r--r--quantum/split_common/matrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/split_common/matrix.c b/quantum/split_common/matrix.c
index 27c37d4b0..c3b43020c 100644
--- a/quantum/split_common/matrix.c
+++ b/quantum/split_common/matrix.c
@@ -106,7 +106,7 @@ static void init_pins(void) {
106 } 106 }
107} 107}
108 108
109static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row) { 109static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row) {
110 // Start with a clear matrix row 110 // Start with a clear matrix row
111 matrix_row_t current_row_value = 0; 111 matrix_row_t current_row_value = 0;
112 112
@@ -166,7 +166,7 @@ static bool read_rows_on_col(matrix_row_t current_matrix[], uint8_t current_col)
166 // For each row... 166 // For each row...
167 for (uint8_t row_index = 0; row_index < ROWS_PER_HAND; row_index++) { 167 for (uint8_t row_index = 0; row_index < ROWS_PER_HAND; row_index++) {
168 // Store last value of row prior to reading 168 // Store last value of row prior to reading
169 matrix_row_t last_row_value = current_matrix[row_index]; 169 matrix_row_t last_row_value = current_matrix[row_index];
170 matrix_row_t current_row_value = last_row_value; 170 matrix_row_t current_row_value = last_row_value;
171 171
172 // Check row pin state 172 // Check row pin state