aboutsummaryrefslogtreecommitdiff
path: root/keyboards/gboards
diff options
context:
space:
mode:
authorYue Wu <[email protected]>2024-07-13 20:43:52 +0800
committerGitHub <[email protected]>2024-07-13 22:43:52 +1000
commit6dfd7ed46f3e11fa2db3c52bd128aa038c3d79a6 (patch)
tree9cc3cd144c48e2d8b13fc3b6aae6603609846926 /keyboards/gboards
parent7b5d7907df3b2e5871aa627cd02359879f04b42d (diff)
downloadqmk_firmware-6dfd7ed46f3e11fa2db3c52bd128aa038c3d79a6.tar.gz
qmk_firmware-6dfd7ed46f3e11fa2db3c52bd128aa038c3d79a6.zip
Fix i2c received value in georgi and bajjak (#24113)
Diffstat (limited to 'keyboards/gboards')
-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);