Browse Source

[Keymap] removed else in numlock led if statement (#18304)

syntax-magic 2 years ago
parent
commit
6321cbaadd
1 changed files with 1 additions and 2 deletions
  1. 1 2
      keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c

+ 1 - 2
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);
     }