Don't do that many FastLED.show()s for now - that leads to lots of display glitches...

This commit is contained in:
Fabian Schlenz 2019-05-30 01:36:30 +02:00
parent 63a65c5b44
commit b452fff812

View File

@ -60,9 +60,9 @@ void loop() {
if (current_effect->can_be_shown_with_clock()) { if (current_effect->can_be_shown_with_clock()) {
effect_clock.loop(current_effect->clock_as_mask(), CRGB(0xFFFFFF), CRGB(0x000000)); effect_clock.loop(current_effect->clock_as_mask(), CRGB(0xFFFFFF), CRGB(0x000000));
} }
FastLED.show();
} }
FastLED.show();
if (MONITOR_LOOP_TIMES && millis()-loop_started_at>=MONITOR_LOOP_TIME_THRESHOLD) { if (MONITOR_LOOP_TIMES && millis()-loop_started_at>=MONITOR_LOOP_TIME_THRESHOLD) {
LOG("Core * Loop took "); LOG(millis()-loop_started_at); LOGln("ms."); LOG("Core * Loop took "); LOG(millis()-loop_started_at); LOGln("ms.");