aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mechwild
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2024-03-30 03:57:21 +1100
committerGitHub <noreply@github.com>2024-03-29 16:57:21 +0000
commitd0cf7b85192ce4431bb4c8c57e2d7501df83ac43 (patch)
treee182500e7df7bf2886300e53e5c7d7c03b01bb40 /keyboards/mechwild
parente891109c4e115a303e109b179bf9d24edbdd7ad7 (diff)
Update GPIO expander API naming (#23375)
Diffstat (limited to 'keyboards/mechwild')
-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.
}