mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Update MultiColorAdjustment.cpp
backlight threshold and brightness are independend now - check not neccessary
This commit is contained in:
parent
693c7c3450
commit
cd62dcd351
@ -51,12 +51,6 @@ bool MultiColorAdjustment::verifyAdjustments() const
|
|||||||
Error(_log, "No adjustment set for %d", iLed);
|
Error(_log, "No adjustment set for %d", iLed);
|
||||||
return false;
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user