summaryrefslogtreecommitdiff
path: root/keyboards/kprepublic
diff options
context:
space:
mode:
authorsyntax-magic <dkim.8881@gmail.com>2022-09-07 11:52:32 -0700
committerGitHub <noreply@github.com>2022-09-07 19:52:32 +0100
commit6321cbaadd614c70d96cd3fd2fbae397b96d1245 (patch)
tree4b71cfe1600291d57ee7dd3faa45c989b8904a73 /keyboards/kprepublic
parent8a0c0f72a541f59bf1e172ac870cd29a5685ade5 (diff)
downloadqmk_firmware-6321cbaadd614c70d96cd3fd2fbae397b96d1245.tar.gz
qmk_firmware-6321cbaadd614c70d96cd3fd2fbae397b96d1245.zip
[Keymap] removed else in numlock led if statement (#18304)
Diffstat (limited to 'keyboards/kprepublic')
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c3
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);
}