From 61dbb9267936f5b3dc6a4c804dc773ab79d9c309 Mon Sep 17 00:00:00 2001 From: clovervidia Date: Mon, 20 Jan 2020 13:49:15 -0500 Subject: Invert Num Lock LED state (#7945) --- keyboards/ymdk_np21/ymdk_np21.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/ymdk_np21/ymdk_np21.c b/keyboards/ymdk_np21/ymdk_np21.c index 5bf1597581..b7c2001a41 100644 --- a/keyboards/ymdk_np21/ymdk_np21.c +++ b/keyboards/ymdk_np21/ymdk_np21.c @@ -30,7 +30,7 @@ void led_init_ports(void) { 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; } -- cgit v1.2.1