File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
plugins/Kaleidoscope-LEDIndicators/src/kaleidoscope/plugin Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -199,11 +199,11 @@ void LEDIndicators::showIndicatorWithDelay(KeyAddr led_addr,
199199
200200// Show a global indicator with delay
201201void LEDIndicators::showGlobalIndicatorWithDelay (IndicatorEffect effect,
202- cRGB color1,
203- cRGB color2,
204- uint16_t duration_ms,
205- uint16_t delay_ms,
206- uint16_t effect_cycles) {
202+ cRGB color1,
203+ cRGB color2,
204+ uint16_t duration_ms,
205+ uint16_t delay_ms,
206+ uint16_t effect_cycles) {
207207 if (!Runtime.has_leds ) {
208208 return ;
209209 }
@@ -583,17 +583,17 @@ EventHandlerResult LEDIndicators::onHostConnectionStatusChanged(uint8_t device_i
583583 // Check if we're still in boot greeting period (5 seconds)
584584 // During boot, delay all Bluetooth indicators
585585 uint16_t delay_ms = 0 ;
586- uint32_t uptime = Runtime.millisAtCycleStart ();
586+ uint32_t uptime = Runtime.millisAtCycleStart ();
587587 if (uptime < 5000 ) {
588588 delay_ms = 5000 - uptime;
589589 }
590-
590+
591591 // Also wait for any active USB global indicators to complete
592592 // This ensures Bluetooth indicators don't interfere with USB disconnect/connect sequences
593593 for (uint8_t i = 0 ; i < MAX_SLOTS; i++) {
594594 if (indicators_[i].active && indicators_[i].is_global ) {
595595 // This is a USB global indicator, wait for it to complete
596- uint32_t elapsed = Runtime.millisAtCycleStart () - indicators_[i].start_time ;
596+ uint32_t elapsed = Runtime.millisAtCycleStart () - indicators_[i].start_time ;
597597 uint32_t total_time = indicators_[i].delay_ms + indicators_[i].duration_ms ;
598598 if (elapsed < total_time) {
599599 uint16_t remaining = total_time - elapsed;
You can’t perform that action at this time.
0 commit comments