aboutsummaryrefslogtreecommitdiff
path: root/keyboards/novelkeys/nk87b/nk87b.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/novelkeys/nk87b/nk87b.c')
-rw-r--r--keyboards/novelkeys/nk87b/nk87b.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/novelkeys/nk87b/nk87b.c b/keyboards/novelkeys/nk87b/nk87b.c
index a0686d5b09..125b5d7404 100644
--- a/keyboards/novelkeys/nk87b/nk87b.c
+++ b/keyboards/novelkeys/nk87b/nk87b.c
@@ -25,8 +25,8 @@ void led_init_ports(void) {
}
layer_state_t layer_state_set_kb(layer_state_t state) {
- writePin(A3, !layer_state_cmp(state, 1));
- writePin(A4, !layer_state_cmp(state, 2));
+ gpio_write_pin(A3, !layer_state_cmp(state, 1));
+ gpio_write_pin(A4, !layer_state_cmp(state, 2));
return layer_state_set_user(state);
}