Browse Source

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

pull/18307/head
syntax-magic 1 year ago
committed by GitHub
parent
commit
6321cbaadd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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 View File

@ -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);
}


Loading…
Cancel
Save