aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mechwild/sugarglider/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechwild/sugarglider/matrix.c')
-rw-r--r--keyboards/mechwild/sugarglider/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/mechwild/sugarglider/matrix.c b/keyboards/mechwild/sugarglider/matrix.c
index c76a8345d3..2fa384ed22 100644
--- a/keyboards/mechwild/sugarglider/matrix.c
+++ b/keyboards/mechwild/sugarglider/matrix.c
@@ -38,7 +38,7 @@ static matrix_row_t read_cols(void) {
}
uint8_t ret = 0xFF; // sets all to 1
- mcp23018_errors += !mcp23018_readPins(I2C_ADDR, mcp23018_PORTB, &ret); // will update with values 0 = pulled down by connection, 1 = pulled up by pullup resistors
+ mcp23018_errors += !mcp23018_read_pins(I2C_ADDR, mcp23018_PORTB, &ret); // will update with values 0 = pulled down by connection, 1 = pulled up by pullup resistors
return (~ret) & 0b00111111; // Clears out the two row bits in the B buffer.
}