mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Fixed MultiColorTransform creation for 'hsv'
Former-commit-id: 6963e2d022c38f31fcb5371ac5bd9057c4eaf088
This commit is contained in:
parent
d78cbe55d6
commit
eaec09f029
@ -165,7 +165,7 @@ MultiColorTransform * Hyperion::createLedColorsTransform(const unsigned ledCnt,
|
|||||||
RgbChannelTransform * greenTransform = createColorTransform(colorConfig["green"]);
|
RgbChannelTransform * greenTransform = createColorTransform(colorConfig["green"]);
|
||||||
RgbChannelTransform * blueTransform = createColorTransform(colorConfig["blue"]);
|
RgbChannelTransform * blueTransform = createColorTransform(colorConfig["blue"]);
|
||||||
|
|
||||||
HsvTransform * hsvTransform = createHsvTransform("hsv");
|
HsvTransform * hsvTransform = createHsvTransform(colorConfig["hsv"]);
|
||||||
transform->addTransform(id, *redTransform, *greenTransform, *blueTransform, *hsvTransform);
|
transform->addTransform(id, *redTransform, *greenTransform, *blueTransform, *hsvTransform);
|
||||||
transform->setTransformForLed(id, 0, ledCnt-1);
|
transform->setTransformForLed(id, 0, ledCnt-1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user