summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/voyager/voyager.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/keyboards/voyager/voyager.c b/keyboards/voyager/voyager.c
index 9cf80230cc..5a09746675 100644
--- a/keyboards/voyager/voyager.c
+++ b/keyboards/voyager/voyager.c
@@ -38,7 +38,9 @@ void dynamic_macro_record_end_user(int8_t direction) {
#endif
void voyager_led_task(void) {
+#ifdef ORYX_ENABLE
if (rawhid_state.rgb_control) return;
+#endif
if (is_launching) {
STATUS_LED_1(false);
STATUS_LED_2(false);
@@ -109,7 +111,10 @@ void keyboard_pre_init_kb(void) {
#if !defined(VOYAGER_USER_LEDS)
layer_state_t layer_state_set_kb(layer_state_t state) {
state = layer_state_set_user(state);
- if (is_launching || !keyboard_config.led_level || rawhid_state.rgb_control) return state;
+ if (is_launching || !keyboard_config.led_level) return state;
+#ifdef ORYX_ENABLE
+ if (rawhid_state.rgb_control) return;
+#endif
bool LED_1 = false;
bool LED_2 = false;
bool LED_3 = false;