diff --git a/src/kaleidoscope/plugin/IdleLEDs.cpp b/src/kaleidoscope/plugin/IdleLEDs.cpp index 8ef92d9a..00918e60 100644 --- a/src/kaleidoscope/plugin/IdleLEDs.cpp +++ b/src/kaleidoscope/plugin/IdleLEDs.cpp @@ -43,7 +43,7 @@ EventHandlerResult IdleLEDs::onKeyswitchEvent(Key &mapped_key, byte row, byte co ::LEDControl.refreshAll(); } - end_time_ = Kaleidoscope.millisAtCycleStart() + idle_time_limit * 1000; + end_time_ = Kaleidoscope.millisAtCycleStart() + (uint32_t)idle_time_limit * 1000; return EventHandlerResult::OK; }