Skip to content

Commit

Permalink
Revert "Fix i2c received value in georgi and bajjak (qmk#24113)"
Browse files Browse the repository at this point in the history
This reverts commit 6dfd7ed.
  • Loading branch information
NewAbbreviations950 committed Jul 17, 2024
1 parent c9f8970 commit 1f6271a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion keyboards/bajjak/matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion keyboards/gboards/georgi/matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ 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);
Expand Down

0 comments on commit 1f6271a

Please sign in to comment.