Explorar o código

[Keyboard] Fix compile error caused by variable exclusion on Moonlander (#15860)

Albert Y %!s(int64=3) %!d(string=hai) anos
pai
achega
731072fc5c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      keyboards/moonlander/moonlander.c

+ 2 - 0
keyboards/moonlander/moonlander.c

@@ -124,7 +124,9 @@ layer_state_t layer_state_set_kb(layer_state_t state) {
     bool LED_3 = false;
     bool LED_4 = false;
     bool LED_5 = false;
+#if !defined(CAPS_LOCK_STATUS)
     bool LED_6 = false;
+#endif
 
     uint8_t layer = get_highest_layer(state);
     switch (layer) {