summaryrefslogtreecommitdiff
path: root/keyboards/ymdk_np21
diff options
context:
space:
mode:
authorclovervidia <clovervidia@aim.com>2020-01-20 13:49:15 -0500
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2020-01-20 10:49:15 -0800
commit61dbb9267936f5b3dc6a4c804dc773ab79d9c309 (patch)
treeb9437a7a424bbf0d9436d9681ff9e1fc84191e9f /keyboards/ymdk_np21
parente3d59a72f9c5a462066439bb5396484bd39ab739 (diff)
Invert Num Lock LED state (#7945)
Diffstat (limited to 'keyboards/ymdk_np21')
-rw-r--r--keyboards/ymdk_np21/ymdk_np21.c2
1 files changed, 1 insertions, 1 deletions
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;
}