summaryrefslogtreecommitdiff
path: root/keyboards/zsa
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2024-05-25 04:38:57 +1000
committerGitHub <noreply@github.com>2024-05-24 19:38:57 +0100
commitb8f29c38652fb56fd122e61018778fd5355a8739 (patch)
treef7bc313204854bc8c5a31435ada3bfed2d741b35 /keyboards/zsa
parent8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 (diff)
Update GPIO macros in keymaps (#23792)
Diffstat (limited to 'keyboards/zsa')
-rw-r--r--keyboards/zsa/voyager/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/zsa/voyager/matrix.c b/keyboards/zsa/voyager/matrix.c
index 614c3ffa04..931af40bc8 100644
--- a/keyboards/zsa/voyager/matrix.c
+++ b/keyboards/zsa/voyager/matrix.c
@@ -116,7 +116,7 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) {
matrix_io_delay();
}
// read col data
- data = ((readPin(A0) << 0) | (readPin(A1) << 1) | (readPin(A2) << 2) | (readPin(A3) << 3) | (readPin(A6) << 4) | (readPin(A7) << 5) | (readPin(B0) << 6));
+ data = ((gpio_read_pin(A0) << 0) | (gpio_read_pin(A1) << 1) | (gpio_read_pin(A2) << 2) | (gpio_read_pin(A3) << 3) | (gpio_read_pin(A6) << 4) | (gpio_read_pin(A7) << 5) | (gpio_read_pin(B0) << 6));
// unstrobe row
switch (row) {
case 0: