Workaround - Suppress empty LED updates

This commit is contained in:
LordGrey 2023-01-25 22:00:57 +01:00
parent af2fa7bfd5
commit c21113d039

View File

@ -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()
{ {