Fixed MultiColorTransform creation for 'hsv'

Former-commit-id: 6963e2d022c38f31fcb5371ac5bd9057c4eaf088
This commit is contained in:
T. van der Zwan 2013-11-20 09:06:41 +00:00
parent d78cbe55d6
commit eaec09f029

View File

@ -165,7 +165,7 @@ MultiColorTransform * Hyperion::createLedColorsTransform(const unsigned ledCnt,
RgbChannelTransform * greenTransform = createColorTransform(colorConfig["green"]);
RgbChannelTransform * blueTransform = createColorTransform(colorConfig["blue"]);
HsvTransform * hsvTransform = createHsvTransform("hsv");
HsvTransform * hsvTransform = createHsvTransform(colorConfig["hsv"]);
transform->addTransform(id, *redTransform, *greenTransform, *blueTransform, *hsvTransform);
transform->setTransformForLed(id, 0, ledCnt-1);