summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-01-13 02:39:15 +0000
committerQMK Bot <hello@qmk.fm>2022-01-13 02:39:15 +0000
commitbd2af5c556d67cd14208d2c574d0fd2e77621753 (patch)
tree46746737496d45adc53583702ca727a7fb51e227
parent69e4c181530bd8c6d9b5d91712dc97f7fdfbd43f (diff)
parent731072fc5c280bb2da257b0ab2a9b601cebeb756 (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--keyboards/moonlander/moonlander.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/moonlander/moonlander.c b/keyboards/moonlander/moonlander.c
index ea50226f0c..e2e163f116 100644
--- a/keyboards/moonlander/moonlander.c
+++ b/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) {