diff options
author | Ryan <[email protected]> | 2024-05-03 15:21:29 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-03 15:21:29 +1000 |
commit | d09a06a1b354760fd0e64a453abade972900e885 (patch) | |
tree | 88d94640f4507ac8d7f570607423825bec3c6f89 /keyboards/40percentclub | |
parent | 5426a7a129acf2ff5c8b435014747f1238e17965 (diff) | |
download | qmk_firmware-d09a06a1b354760fd0e64a453abade972900e885.tar.gz qmk_firmware-d09a06a1b354760fd0e64a453abade972900e885.zip |
Update GPIO API usage in keyboard code (#23361)
Diffstat (limited to 'keyboards/40percentclub')
-rw-r--r-- | keyboards/40percentclub/4pack/4pack.c | 4 | ||||
-rw-r--r-- | keyboards/40percentclub/sixpack/sixpack.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/40percentclub/4pack/4pack.c b/keyboards/40percentclub/4pack/4pack.c index bd2efa5620..044ce45681 100644 --- a/keyboards/40percentclub/4pack/4pack.c +++ b/keyboards/40percentclub/4pack/4pack.c @@ -23,8 +23,8 @@ void matrix_init_kb(void) { // put your keyboard start-up code here // runs once when the firmware starts up - setPinOutput(F4); // cathodes - setPinOutput(F5); // cathodes + gpio_set_pin_output(F4); // cathodes + gpio_set_pin_output(F5); // cathodes // Do the rest matrix_init_user(); diff --git a/keyboards/40percentclub/sixpack/sixpack.c b/keyboards/40percentclub/sixpack/sixpack.c index c8c7bad444..fa7609c97f 100644 --- a/keyboards/40percentclub/sixpack/sixpack.c +++ b/keyboards/40percentclub/sixpack/sixpack.c @@ -16,9 +16,9 @@ #include "quantum.h" void matrix_init_kb(void) { - setPinOutput(B6); // Backlight cathodes Col.3 - setPinOutput(F6); // Backlight cathodes Col.2 - setPinOutput(F7); // Backlight cathodes Col.1 + gpio_set_pin_output(B6); // Backlight cathodes Col.3 + gpio_set_pin_output(F6); // Backlight cathodes Col.2 + gpio_set_pin_output(F7); // Backlight cathodes Col.1 matrix_init_user(); } |