mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Fix Iterator issue on Windows (#1450)
This commit is contained in:
parent
addff6f7ef
commit
2388044a93
@ -218,12 +218,13 @@ bool PriorityMuxer::setInput(int priority, const std::vector<ColorRgb>& ledColor
|
||||
|
||||
if (input.componentId == hyperion::COMP_COLOR)
|
||||
{
|
||||
activeChange = true;
|
||||
if (!input.ledColors.empty() && !ledColors.empty())
|
||||
{
|
||||
//Only issue priority update, if first LED change as value in update is representing first LED only
|
||||
if (input.ledColors.begin() != ledColors.begin())
|
||||
if (input.ledColors.front() == ledColors.front())
|
||||
{
|
||||
activeChange = true;
|
||||
activeChange = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user