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

This commit is contained in:
Albert Y 2022-01-13 10:38:34 +08:00 committed by GitHub
parent 362a65510a
commit 731072fc5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {