summaryrefslogtreecommitdiff
path: root/keyboards/voyager/voyager.c
diff options
context:
space:
mode:
authorFlorian <fd@0x6664>2023-09-19 18:58:17 +0700
committerFlorian <fd@0x6664>2023-09-19 18:58:17 +0700
commited23f8a3691b6bc30d0f443b8f6a659c895b5b5e (patch)
tree4786a562b6e27b386399499f814893f4a51d8264 /keyboards/voyager/voyager.c
parentf84ba467bab2173b18e4095b6d5b9beecc2998f5 (diff)
fix: prevents compilation bomb when oryx's hid protocol is disabled
Diffstat (limited to 'keyboards/voyager/voyager.c')
-rw-r--r--keyboards/voyager/voyager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/voyager/voyager.c b/keyboards/voyager/voyager.c
index 5a09746675..b951987bc1 100644
--- a/keyboards/voyager/voyager.c
+++ b/keyboards/voyager/voyager.c
@@ -113,7 +113,7 @@ layer_state_t layer_state_set_kb(layer_state_t state) {
state = layer_state_set_user(state);
if (is_launching || !keyboard_config.led_level) return state;
#ifdef ORYX_ENABLE
- if (rawhid_state.rgb_control) return;
+ if (rawhid_state.rgb_control) return state;
#endif
bool LED_1 = false;
bool LED_2 = false;