aboutsummaryrefslogtreecommitdiff
path: root/keyboards/opendeck
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/opendeck
parent5426a7a129acf2ff5c8b435014747f1238e17965 (diff)
downloadqmk_firmware-d09a06a1b354760fd0e64a453abade972900e885.tar.gz
qmk_firmware-d09a06a1b354760fd0e64a453abade972900e885.zip
Update GPIO API usage in keyboard code (#23361)
Diffstat (limited to 'keyboards/opendeck')
-rw-r--r--keyboards/opendeck/32/rev1/rev1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/opendeck/32/rev1/rev1.c b/keyboards/opendeck/32/rev1/rev1.c
index 8b3f9c0222..ca05d12243 100644
--- a/keyboards/opendeck/32/rev1/rev1.c
+++ b/keyboards/opendeck/32/rev1/rev1.c
@@ -90,12 +90,12 @@ led_config_t g_led_config = {
void keyboard_pre_init_kb(void) {
// Light power LED
- setPinOutput(POWER_LED_PIN);
- writePinLow(POWER_LED_PIN);
+ gpio_set_pin_output(POWER_LED_PIN);
+ gpio_write_pin_low(POWER_LED_PIN);
// We don't use this feature of the IS31FL3731 but it is electrically connected
// Make sure not to drive it
- setPinInput(IS31FL3731_IRQ_PIN);
+ gpio_set_pin_input(IS31FL3731_IRQ_PIN);
keyboard_pre_init_user();
}