From cd62dcd3511abe3c00982a4a845c8309170bd780 Mon Sep 17 00:00:00 2001 From: redPanther Date: Fri, 7 Apr 2017 20:42:27 +0200 Subject: [PATCH] Update MultiColorAdjustment.cpp backlight threshold and brightness are independend now - check not neccessary --- libsrc/hyperion/MultiColorAdjustment.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libsrc/hyperion/MultiColorAdjustment.cpp b/libsrc/hyperion/MultiColorAdjustment.cpp index 302fb52b..cbf38fe3 100644 --- a/libsrc/hyperion/MultiColorAdjustment.cpp +++ b/libsrc/hyperion/MultiColorAdjustment.cpp @@ -51,12 +51,6 @@ bool MultiColorAdjustment::verifyAdjustments() const Error(_log, "No adjustment set for %d", iLed); return false; } - if (adjustment->_rgbTransform.getBrightness() <= adjustment->_rgbTransform.getBacklightThreshold() ) - { - adjustment->_rgbTransform.setBacklightThreshold(0.0); - adjustment->_rgbTransform.setBrightness(0.5); - Warning(_log, "Adjustment for %d has invalid Brightness values, values set to default. (setBacklightThreshold is bigger then brightness)", iLed); - } } return true; }