diff --git a/plugins/Kaleidoscope-Colormap-Overlay/src/kaleidoscope/plugin/Colormap-Overlay.cpp b/plugins/Kaleidoscope-Colormap-Overlay/src/kaleidoscope/plugin/Colormap-Overlay.cpp index 590ae6423f..b4ed22acb9 100644 --- a/plugins/Kaleidoscope-Colormap-Overlay/src/kaleidoscope/plugin/Colormap-Overlay.cpp +++ b/plugins/Kaleidoscope-Colormap-Overlay/src/kaleidoscope/plugin/Colormap-Overlay.cpp @@ -55,6 +55,9 @@ EventHandlerResult ColormapOverlay::onSetup() { } void ColormapOverlay::setKeyboardLEDColors() { + if (!Runtime.has_leds) + return; + for (auto key_addr : KeyAddr::all()) { if (ColormapOverlay::hasOverlay(key_addr)) { ::LEDControl.setCrgbAt(KeyAddr(key_addr), selectedColor);