diff options
| author | Ryan | 2024-05-03 07:21:29 +0200 |
|---|---|---|
| committer | GitHub | 2024-05-03 07:21:29 +0200 |
| commit | d09a06a1b354760fd0e64a453abade972900e885 (patch) | |
| tree | 88d94640f4507ac8d7f570607423825bec3c6f89 /keyboards/pom_keyboards | |
| parent | 5426a7a129acf2ff5c8b435014747f1238e17965 (diff) | |
Update GPIO API usage in keyboard code (#23361)
Diffstat (limited to 'keyboards/pom_keyboards')
| -rw-r--r-- | keyboards/pom_keyboards/tnln95/tnln95.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/pom_keyboards/tnln95/tnln95.c b/keyboards/pom_keyboards/tnln95/tnln95.c index 12651327ea..b8ab8ff7a7 100644 --- a/keyboards/pom_keyboards/tnln95/tnln95.c +++ b/keyboards/pom_keyboards/tnln95/tnln95.c @@ -16,11 +16,11 @@ #include "quantum.h" void keyboard_pre_init_kb(void) { - setPinOutput(B1); - setPinOutput(B2); + gpio_set_pin_output(B1); + gpio_set_pin_output(B2); /* I will add function to these later */ - // setPinOutput(B3); - // setPinOutput(E2); + // gpio_set_pin_output(B3); + // gpio_set_pin_output(E2); keyboard_pre_init_user(); } @@ -28,8 +28,8 @@ void keyboard_pre_init_kb(void) { bool led_update_kb(led_t led_state) { bool res = led_update_user(led_state); if(res) { - writePin(B1, led_state.num_lock); - writePin(B2, led_state.caps_lock); + gpio_write_pin(B1, led_state.num_lock); + gpio_write_pin(B2, led_state.caps_lock); } return res; } |