diff --git a/src/kaleidoscope/Kaleidoscope.h b/src/kaleidoscope/Kaleidoscope.h index aeb03f2f..d77a6020 100644 --- a/src/kaleidoscope/Kaleidoscope.h +++ b/src/kaleidoscope/Kaleidoscope.h @@ -97,6 +97,8 @@ class Kaleidoscope_ { void setup(void); void loop(void); + static constexpr bool has_leds = (KeyboardHardware.led_count > 0); + /** Detaching from / attaching to the host. * * These two functions wrap the hardware plugin's similarly named functions.