summaryrefslogtreecommitdiff
path: root/quantum/matrix.c
diff options
context:
space:
mode:
authorcbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-11-23 17:47:16 -0500
committercbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-11-23 17:47:16 -0500
commitc05cbaf534d7d58bb8ca4cd9405525b941194372 (patch)
tree8d0374a5f0a3e44801f69dd6a434680fc13aab8b /quantum/matrix.c
parent5b88e7ab9a59dbbc5df6ffa4639befebb9fb115e (diff)
parent2b3a3ca67867ecd02e100c6e2fbe1972af1abb84 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'quantum/matrix.c')
-rw-r--r--quantum/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/matrix.c b/quantum/matrix.c
index 3c488b417d..07eb87bc36 100644
--- a/quantum/matrix.c
+++ b/quantum/matrix.c
@@ -310,7 +310,7 @@ static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row)
// Unselect row
unselect_row(current_row);
- return (last_row_value == current_matrix[current_row]);
+ return (last_row_value != current_matrix[current_row]);
}
static void select_row(uint8_t row)