diff options
author | Ryan <fauxpark@gmail.com> | 2024-05-03 15:21:29 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-03 15:21:29 +1000 |
commit | d09a06a1b354760fd0e64a453abade972900e885 (patch) | |
tree | 88d94640f4507ac8d7f570607423825bec3c6f89 /keyboards/punk75 | |
parent | 5426a7a129acf2ff5c8b435014747f1238e17965 (diff) |
Update GPIO API usage in keyboard code (#23361)
Diffstat (limited to 'keyboards/punk75')
-rw-r--r-- | keyboards/punk75/punk75.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/punk75/punk75.c b/keyboards/punk75/punk75.c index aaabefb5aa..8d9d09d43c 100644 --- a/keyboards/punk75/punk75.c +++ b/keyboards/punk75/punk75.c @@ -18,7 +18,7 @@ void matrix_init_kb(void) { // Set our LED pin as output - setPinOutput(LED); + gpio_set_pin_output(LED); matrix_init_user(); } @@ -26,7 +26,7 @@ void matrix_init_kb(void) { bool led_update_kb(led_t led_state) { bool res = led_update_user(led_state); if(res) { - writePin(LED, !led_state.caps_lock); + gpio_write_pin(LED, !led_state.caps_lock); } return res; } |