Skip to content

Commit

Permalink
fix: compilation crash on atmel ergos
Browse files Browse the repository at this point in the history
  • Loading branch information
fdidron committed Jun 20, 2024
1 parent 23468c1 commit 9a0e1b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quantum/oryx.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ void trigger_smart_layer(void) {
}

void set_webhid_effect(void) {
#if defined(RGB_MATRIX_ENABLE)
#if defined(RGB_MATRIX_ENABLE) && !defined(KEYBOARD_ergodox_ez_glow)
rgb_matrix_mode_noeeprom(RGB_MATRIX_CUSTOM_oryx_webhid_effect);
rawhid_state.rgb_control = true;
#endif
}

void clear_webhid_effect(void) {
#if defined(RGB_MATRIX_ENABLE)
#if defined(RGB_MATRIX_ENABLE) && !defined(KEYBOARD_ergodox_ez_glow)
// Clear the pattern
for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; i++) {
webhid_leds[i] = (RGB){.r = 0, .g = 0, .b = 0};
Expand Down

0 comments on commit 9a0e1b6

Please sign in to comment.