Skip to content

Commit

Permalink
fix: prevents compilation bomb when oryx's hid protocol is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian committed Sep 19, 2023
1 parent f84ba46 commit ed23f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyboards/voyager/voyager.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ed23f8a

Please sign in to comment.