fix #197, prio 0 is set to black for infinity, when foreground effect is invalid
This commit is contained in:
redPanther 2016-08-29 19:26:42 +02:00 committed by GitHub
parent 61db9f43b8
commit e0430f088d

View File

@ -186,7 +186,7 @@ void HyperionDaemon::startInitialEffect()
const int BG_PRIORITY = PriorityMuxer::LOWEST_PRIORITY -1;
// clear the leds
hyperion->setColor(FG_PRIORITY, ColorRgb::BLACK, DURATION_INFINITY, false);
hyperion->setColor(FG_PRIORITY, ColorRgb::BLACK, 100, false);
// initial foreground effect/color
const QJsonValue fgEffectConfig = effectConfig["foreground-effect"];