aboutsummaryrefslogtreecommitdiff
path: root/keyboards/geonworks/w1_at/w1_at.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/geonworks/w1_at/w1_at.c')
-rw-r--r--keyboards/geonworks/w1_at/w1_at.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/geonworks/w1_at/w1_at.c b/keyboards/geonworks/w1_at/w1_at.c
index 9858561bc5..114574455b 100644
--- a/keyboards/geonworks/w1_at/w1_at.c
+++ b/keyboards/geonworks/w1_at/w1_at.c
@@ -17,14 +17,14 @@
void led_init_ports(void) {
// Set our LED pins as open drain outputs
- setPinOutputOpenDrain(LED_CAPS_LOCK_PIN);
- setPinOutputOpenDrain(LED_NUM_LOCK_PIN);
- setPinOutputOpenDrain(LED_SCROLL_LOCK_PIN);
- setPinOutputOpenDrain(LED_KANA_PIN);
- setPinOutputOpenDrain(A14);
+ gpio_set_pin_output_open_drain(LED_CAPS_LOCK_PIN);
+ gpio_set_pin_output_open_drain(LED_NUM_LOCK_PIN);
+ gpio_set_pin_output_open_drain(LED_SCROLL_LOCK_PIN);
+ gpio_set_pin_output_open_drain(LED_KANA_PIN);
+ gpio_set_pin_output_open_drain(A14);
}
layer_state_t layer_state_set_kb(layer_state_t state) {
- writePin(A14, !layer_state_cmp(state, 1));
+ gpio_write_pin(A14, !layer_state_cmp(state, 1));
return layer_state_set_user(state);
}