aboutsummaryrefslogtreecommitdiff
path: root/keyboards/bajjak/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bajjak/matrix.c')
-rw-r--r--keyboards/bajjak/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/bajjak/matrix.c b/keyboards/bajjak/matrix.c
index 5451bf787d..3ec7cbd077 100644
--- a/keyboards/bajjak/matrix.c
+++ b/keyboards/bajjak/matrix.c
@@ -146,7 +146,7 @@ static matrix_row_t read_cols(uint8_t row) {
// reading GPIOB (column port) since in mcp23018's sequential mode
// it is addressed directly after writing to GPIOA in select_row()
mcp23018_status = i2c_receive(I2C_ADDR, &data, 1, BAJJAK_EZ_I2C_TIMEOUT);
- return data;
+ return ~data;
}
} else {
/* read from teensy