diff options
| author | Joel Challis | 2025-06-27 09:17:28 +0200 |
|---|---|---|
| committer | GitHub | 2025-06-27 09:17:28 +0200 |
| commit | bc5c5e3251d019f3e070d7ea9e5c77501b25738d (patch) | |
| tree | d97835b76f900f05e41d6a9b24f68c6f16bc0892 /quantum/command.c | |
| parent | f39e08e2baa14bd6e1031a64d1e879f450fb2fd7 (diff) | |
Align sleep_led logic (#25395)
Diffstat (limited to 'quantum/command.c')
| -rw-r--r-- | quantum/command.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/quantum/command.c b/quantum/command.c index 998d9b9aa1..ea2fd68e2b 100644 --- a/quantum/command.c +++ b/quantum/command.c @@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "action_layer.h" #include "action_util.h" #include "eeconfig.h" -#include "sleep_led.h" #include "led.h" #include "command.h" #include "quantum.h" @@ -39,6 +38,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. # include "backlight.h" #endif +#ifdef SLEEP_LED_ENABLE +# include "sleep_led.h" +#endif + #if defined(MOUSEKEY_ENABLE) # include "mousekey.h" #endif |