From 6321cbaadd614c70d96cd3fd2fbae397b96d1245 Mon Sep 17 00:00:00 2001 From: syntax-magic Date: Wed, 7 Sep 2022 11:52:32 -0700 Subject: [Keymap] removed else in numlock led if statement (#18304) --- keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'keyboards/kprepublic') 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); } -- cgit v1.2.1