summaryrefslogtreecommitdiffstats
path: root/keyboards/kprepublic/bm40hsrgb/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kprepublic/bm40hsrgb/keymaps')
-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);
}