aboutsummaryrefslogtreecommitdiff
path: root/keyboards/wolfmarkclub
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/wolfmarkclub
parent5426a7a129acf2ff5c8b435014747f1238e17965 (diff)
downloadqmk_firmware-d09a06a1b354760fd0e64a453abade972900e885.tar.gz
qmk_firmware-d09a06a1b354760fd0e64a453abade972900e885.zip
Update GPIO API usage in keyboard code (#23361)
Diffstat (limited to 'keyboards/wolfmarkclub')
-rw-r--r--keyboards/wolfmarkclub/wm1/wm1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/wolfmarkclub/wm1/wm1.c b/keyboards/wolfmarkclub/wm1/wm1.c
index 370f9c7cfa..9c4fb090c8 100644
--- a/keyboards/wolfmarkclub/wm1/wm1.c
+++ b/keyboards/wolfmarkclub/wm1/wm1.c
@@ -6,17 +6,17 @@ void bootloader_jump(void) {
}
void matrix_init_kb(void) {
- setPinOutput(B1); // Top Indicator LED
- setPinOutput(B0); // Middle Indicator LED
- setPinOutput(C5); // Bottom Indicator LED
+ gpio_set_pin_output(B1); // Top Indicator LED
+ gpio_set_pin_output(B0); // Middle Indicator LED
+ gpio_set_pin_output(C5); // Bottom Indicator LED
matrix_init_user();
}
bool led_update_kb(led_t led_state) {
if(led_update_user(led_state)) {
- writePin(B1, led_state.caps_lock);
- writePin(B0, led_state.num_lock);
- writePin(C5, led_state.scroll_lock);
+ gpio_write_pin(B1, led_state.caps_lock);
+ gpio_write_pin(B0, led_state.num_lock);
+ gpio_write_pin(C5, led_state.scroll_lock);
}
return true;
}