mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Workaround - Suppress empty LED updates
This commit is contained in:
parent
af2fa7bfd5
commit
c21113d039
@ -509,6 +509,8 @@ void LinearColorSmoothing::clearRememberedFrames()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void LinearColorSmoothing::queueColors(const std::vector<ColorRgb> &ledColors)
|
void LinearColorSmoothing::queueColors(const std::vector<ColorRgb> &ledColors)
|
||||||
|
{
|
||||||
|
if (ledColors.size() > 0)
|
||||||
{
|
{
|
||||||
if (_outputDelay == 0)
|
if (_outputDelay == 0)
|
||||||
{
|
{
|
||||||
@ -537,6 +539,7 @@ void LinearColorSmoothing::queueColors(const std::vector<ColorRgb> &ledColors)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void LinearColorSmoothing::clearQueuedColors()
|
void LinearColorSmoothing::clearQueuedColors()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user