aboutsummaryrefslogtreecommitdiff
path: root/keyboards/lfkeyboards/smk65
diff options
context:
space:
mode:
authorRyan <[email protected]>2024-05-03 15:21:29 +1000
committerGitHub <[email protected]>2024-05-03 15:21:29 +1000
commitd09a06a1b354760fd0e64a453abade972900e885 (patch)
tree88d94640f4507ac8d7f570607423825bec3c6f89 /keyboards/lfkeyboards/smk65
parent5426a7a129acf2ff5c8b435014747f1238e17965 (diff)
downloadqmk_firmware-d09a06a1b354760fd0e64a453abade972900e885.tar.gz
qmk_firmware-d09a06a1b354760fd0e64a453abade972900e885.zip
Update GPIO API usage in keyboard code (#23361)
Diffstat (limited to 'keyboards/lfkeyboards/smk65')
-rw-r--r--keyboards/lfkeyboards/smk65/revb/revb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/lfkeyboards/smk65/revb/revb.c b/keyboards/lfkeyboards/smk65/revb/revb.c
index 8eb9b9afe2..f519b413b5 100644
--- a/keyboards/lfkeyboards/smk65/revb/revb.c
+++ b/keyboards/lfkeyboards/smk65/revb/revb.c
@@ -27,12 +27,12 @@ void matrix_init_kb(void)
#ifdef AUDIO_ENABLE
// audio_init() sets PB5 to output and drives it low, which breaks our matrix
// so reset PB5 to input
- setPinInput(B5);
- writePinHigh(B5);
+ gpio_set_pin_input(B5);
+ gpio_write_pin_high(B5);
#else
// If we're not using the audio pin, drive it low
- setPinOutput(C6);
- writePinLow(C6);
+ gpio_set_pin_output(C6);
+ gpio_write_pin_low(C6);
#endif
}