aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ktec/ergodone/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ktec/ergodone/matrix.c')
-rw-r--r--keyboards/ktec/ergodone/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ktec/ergodone/matrix.c b/keyboards/ktec/ergodone/matrix.c
index cb845db1bc..a9a517f2f1 100644
--- a/keyboards/ktec/ergodone/matrix.c
+++ b/keyboards/ktec/ergodone/matrix.c
@@ -49,7 +49,7 @@ static matrix_row_t expander_read_row(void) {
}
uint8_t ret = 0xFF;
- mcp23018_errors += !mcp23018_readPins(I2C_ADDR, mcp23018_PORTA, &ret);
+ mcp23018_errors += !mcp23018_read_pins(I2C_ADDR, mcp23018_PORTA, &ret);
ret = bitrev(~ret);
ret = ((ret & 0b11111000) >> 1) | (ret & 0b00000011);