diff options
author | clovervidia <clovervidia@aim.com> | 2020-01-20 13:49:15 -0500 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2020-01-20 10:49:15 -0800 |
commit | 61dbb9267936f5b3dc6a4c804dc773ab79d9c309 (patch) | |
tree | b9437a7a424bbf0d9436d9681ff9e1fc84191e9f | |
parent | e3d59a72f9c5a462066439bb5396484bd39ab739 (diff) | |
download | qmk_firmware-61dbb9267936f5b3dc6a4c804dc773ab79d9c309.tar.gz |
Invert Num Lock LED state (#7945)
-rw-r--r-- | keyboards/ymdk_np21/ymdk_np21.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ymdk_np21/ymdk_np21.c b/keyboards/ymdk_np21/ymdk_np21.c index 5bf159758..b7c2001a4 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; } |