diff options
author | Albert Y <76888457+filterpaper@users.noreply.github.com> | 2022-01-13 10:38:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 18:38:34 -0800 |
commit | 731072fc5c280bb2da257b0ab2a9b601cebeb756 (patch) | |
tree | 6a1d0eebcffcdafa839ac7d703a784dcb9537b48 | |
parent | 362a65510a0fe80a6fa56400b4b8089accde21c7 (diff) | |
download | qmk_firmware-731072fc5c280bb2da257b0ab2a9b601cebeb756.tar.gz qmk_firmware-731072fc5c280bb2da257b0ab2a9b601cebeb756.zip |
[Keyboard] Fix compile error caused by variable exclusion on Moonlander (#15860)
-rw-r--r-- | keyboards/moonlander/moonlander.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/moonlander/moonlander.c b/keyboards/moonlander/moonlander.c index ea50226f0..e2e163f11 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) { | |||
124 | bool LED_3 = false; | 124 | bool LED_3 = false; |
125 | bool LED_4 = false; | 125 | bool LED_4 = false; |
126 | bool LED_5 = false; | 126 | bool LED_5 = false; |
127 | #if !defined(CAPS_LOCK_STATUS) | ||
127 | bool LED_6 = false; | 128 | bool LED_6 = false; |
129 | #endif | ||
128 | 130 | ||
129 | uint8_t layer = get_highest_layer(state); | 131 | uint8_t layer = get_highest_layer(state); |
130 | switch (layer) { | 132 | switch (layer) { |