diff options
author | syntax-magic <dkim.8881@gmail.com> | 2022-09-07 11:52:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 19:52:32 +0100 |
commit | 6321cbaadd614c70d96cd3fd2fbae397b96d1245 (patch) | |
tree | 4b71cfe1600291d57ee7dd3faa45c989b8904a73 | |
parent | 8a0c0f72a541f59bf1e172ac870cd29a5685ade5 (diff) | |
download | qmk_firmware-6321cbaadd614c70d96cd3fd2fbae397b96d1245.tar.gz qmk_firmware-6321cbaadd614c70d96cd3fd2fbae397b96d1245.zip |
[Keymap] removed else in numlock led if statement (#18304)
-rw-r--r-- | keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c index fbebbb966d..5029d557dd 100644 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c +++ b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c @@ -320,8 +320,7 @@ void rgb_matrix_indicators_user(void) { } //Numlock led - if (led_state.num_lock) { - } else { + if (!led_state.num_lock) { rgb_matrix_set_color(0, 145, 145, 145); } |