aboutsummaryrefslogtreecommitdiff
path: root/keyboards/gboards/gergoplex/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gboards/gergoplex/matrix.c')
-rw-r--r--keyboards/gboards/gergoplex/matrix.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/gboards/gergoplex/matrix.c b/keyboards/gboards/gergoplex/matrix.c
index 9abe9a83b3..3ea6a13385 100644
--- a/keyboards/gboards/gergoplex/matrix.c
+++ b/keyboards/gboards/gergoplex/matrix.c
@@ -168,7 +168,7 @@ void matrix_print(void) {
// Remember this means ROWS
static void init_cols(void) {
for (uint8_t col = 0; col < MATRIX_COLS; col++) {
- setPinInputHigh(col_pins[col]);
+ gpio_set_pin_input_high(col_pins[col]);
}
}
@@ -195,8 +195,8 @@ static void unselect_rows(void) {
// the other row bits high, and it's not changing to a different direction
for (uint8_t row = 0; row < MATRIX_ROWS_PER_SIDE; row++) {
- setPinInput(row_pins[row]);
- writePinLow(row_pins[row]);
+ gpio_set_pin_input(row_pins[row]);
+ gpio_write_pin_low(row_pins[row]);
}
}
@@ -211,7 +211,7 @@ static void select_row(uint8_t row) {
}
} else {
- setPinOutput(row_pins[row - MATRIX_ROWS_PER_SIDE]);
- writePinLow(row_pins[row - MATRIX_ROWS_PER_SIDE]);
+ gpio_set_pin_output(row_pins[row - MATRIX_ROWS_PER_SIDE]);
+ gpio_write_pin_low(row_pins[row - MATRIX_ROWS_PER_SIDE]);
}
}