mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
fix #197
fix #197, prio 0 is set to black for infinity, when foreground effect is invalid
This commit is contained in:
parent
61db9f43b8
commit
e0430f088d
@ -186,7 +186,7 @@ void HyperionDaemon::startInitialEffect()
|
|||||||
const int BG_PRIORITY = PriorityMuxer::LOWEST_PRIORITY -1;
|
const int BG_PRIORITY = PriorityMuxer::LOWEST_PRIORITY -1;
|
||||||
|
|
||||||
// clear the leds
|
// clear the leds
|
||||||
hyperion->setColor(FG_PRIORITY, ColorRgb::BLACK, DURATION_INFINITY, false);
|
hyperion->setColor(FG_PRIORITY, ColorRgb::BLACK, 100, false);
|
||||||
|
|
||||||
// initial foreground effect/color
|
// initial foreground effect/color
|
||||||
const QJsonValue fgEffectConfig = effectConfig["foreground-effect"];
|
const QJsonValue fgEffectConfig = effectConfig["foreground-effect"];
|
||||||
|
Loading…
Reference in New Issue
Block a user