From cc1d6fdcc75161887bb4e7465219841f2ee23468 Mon Sep 17 00:00:00 2001 From: Marcus Ofenhed Date: Mon, 5 Aug 2024 07:03:01 +0200 Subject: [PATCH] fix: layer_state_set_user didn't trigger if VOYAGER_USER_LEDS was defined (#396) --- keyboards/zsa/voyager/voyager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/zsa/voyager/voyager.c b/keyboards/zsa/voyager/voyager.c index f0fc565a90bb..a4456613f9ea 100644 --- a/keyboards/zsa/voyager/voyager.c +++ b/keyboards/zsa/voyager/voyager.c @@ -94,8 +94,8 @@ void keyboard_pre_init_kb(void) { } layer_state_t layer_state_set_kb(layer_state_t state) { -#if !defined(VOYAGER_USER_LEDS) state = layer_state_set_user(state); +#if !defined(VOYAGER_USER_LEDS) if (is_launching || !keyboard_config.led_level) return state; # ifdef ORYX_ENABLE if (rawhid_state.status_led_control) return state;