summaryrefslogtreecommitdiffstats
path: root/keyboards/kbdfans/kbdpad/mk1/mk1.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kbdfans/kbdpad/mk1/mk1.c')
-rw-r--r--keyboards/kbdfans/kbdpad/mk1/mk1.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/kbdfans/kbdpad/mk1/mk1.c b/keyboards/kbdfans/kbdpad/mk1/mk1.c
index f5fe47741b..540ba35892 100644
--- a/keyboards/kbdfans/kbdpad/mk1/mk1.c
+++ b/keyboards/kbdfans/kbdpad/mk1/mk1.c
@@ -23,12 +23,11 @@ void keyboard_pre_init_kb(void) {
void led_init_ports(void) {
setPinOutput(D0);
- writePinHigh(D0);
}
bool led_update_kb(led_t led_state) {
if (led_update_user(led_state)) {
- writePin(D0, !led_state.num_lock);
+ writePin(D0, led_state.num_lock);
}
return true;
}