diff options
author | QMK Bot <hello@qmk.fm> | 2020-05-21 17:39:29 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2020-05-21 17:39:29 +0000 |
commit | c63fd051dade376ec8d44245b3b8058dd5549af6 (patch) | |
tree | eacca4fdb0b8156ebad95a14e97fe05473113bbc /quantum/matrix.c | |
parent | 65150984bd1f9c301b080652fe60b181765bb9be (diff) | |
download | qmk_firmware-c63fd051dade376ec8d44245b3b8058dd5549af6.tar.gz qmk_firmware-c63fd051dade376ec8d44245b3b8058dd5549af6.zip |
format code according to conventions [skip ci]
Diffstat (limited to 'quantum/matrix.c')
-rw-r--r-- | quantum/matrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/matrix.c b/quantum/matrix.c index 9e998508a..c68c56cac 100644 --- a/quantum/matrix.c +++ b/quantum/matrix.c | |||
@@ -89,7 +89,7 @@ static void init_pins(void) { | |||
89 | } | 89 | } |
90 | } | 90 | } |
91 | 91 | ||
92 | static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row) { | 92 | static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row) { |
93 | // Start with a clear matrix row | 93 | // Start with a clear matrix row |
94 | matrix_row_t current_row_value = 0; | 94 | matrix_row_t current_row_value = 0; |
95 | 95 | ||
@@ -149,7 +149,7 @@ static bool read_rows_on_col(matrix_row_t current_matrix[], uint8_t current_col) | |||
149 | // For each row... | 149 | // For each row... |
150 | for (uint8_t row_index = 0; row_index < MATRIX_ROWS; row_index++) { | 150 | for (uint8_t row_index = 0; row_index < MATRIX_ROWS; row_index++) { |
151 | // Store last value of row prior to reading | 151 | // Store last value of row prior to reading |
152 | matrix_row_t last_row_value = current_matrix[row_index]; | 152 | matrix_row_t last_row_value = current_matrix[row_index]; |
153 | matrix_row_t current_row_value = last_row_value; | 153 | matrix_row_t current_row_value = last_row_value; |
154 | 154 | ||
155 | // Check row pin state | 155 | // Check row pin state |