aboutsummaryrefslogtreecommitdiff
path: root/keyboards/gboards/georgi/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gboards/georgi/matrix.c')
-rw-r--r--keyboards/gboards/georgi/matrix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/gboards/georgi/matrix.c b/keyboards/gboards/georgi/matrix.c
index 00c17a3e44..9552518f76 100644
--- a/keyboards/gboards/georgi/matrix.c
+++ b/keyboards/gboards/georgi/matrix.c
@@ -255,6 +255,7 @@ static matrix_row_t read_cols(uint8_t row)
} else {
uint8_t data = 0;
mcp23018_status = i2c_read_register(I2C_ADDR, GPIOB, &data, 1, ERGODOX_EZ_I2C_TIMEOUT);
+ data = ~data;
#ifdef DEBUG_MATRIX
if (data != 0x00) xprintf("I2C: %d\n", data);