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
@ -510,6 +510,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)
|
||||||
{
|
{
|
||||||
// No output delay => immediate write
|
// No output delay => immediate write
|
||||||
@ -536,6 +538,7 @@ void LinearColorSmoothing::queueColors(const std::vector<ColorRgb> &ledColors)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LinearColorSmoothing::clearQueuedColors()
|
void LinearColorSmoothing::clearQueuedColors()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user