aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hineybush/h10
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2024-05-03 15:21:29 +1000
committerGitHub <noreply@github.com>2024-05-03 15:21:29 +1000
commitd09a06a1b354760fd0e64a453abade972900e885 (patch)
tree88d94640f4507ac8d7f570607423825bec3c6f89 /keyboards/hineybush/h10
parent5426a7a129acf2ff5c8b435014747f1238e17965 (diff)
downloadqmk_firmware-d09a06a1b354760fd0e64a453abade972900e885.tar.gz
qmk_firmware-d09a06a1b354760fd0e64a453abade972900e885.zip
Update GPIO API usage in keyboard code (#23361)
Diffstat (limited to 'keyboards/hineybush/h10')
-rw-r--r--keyboards/hineybush/h10/h10.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/hineybush/h10/h10.c b/keyboards/hineybush/h10/h10.c
index 81f5bdfbf2..2170a8b2d7 100644
--- a/keyboards/hineybush/h10/h10.c
+++ b/keyboards/hineybush/h10/h10.c
@@ -23,12 +23,12 @@
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
- setPinOutput(F7);
+ gpio_set_pin_output(F7);
}
bool led_update_kb(led_t led_state) {
if(led_update_user(led_state)) {
- writePin(F7, !led_state.num_lock);
+ gpio_write_pin(F7, !led_state.num_lock);
}
return true;
}