mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Bugfix sync with hyperion repo (#110)
* #702 if led color not black * colorless backlight #707
This commit is contained in:
@@ -67,7 +67,7 @@ void HslTransform::transform(uint8_t & red, uint8_t & green, uint8_t & blue) con
|
||||
float l = luminance * _luminanceGain;
|
||||
if (l < _luminanceMinimum)
|
||||
{
|
||||
saturation *= l/_luminanceMinimum;
|
||||
saturation = 0;
|
||||
l = _luminanceMinimum;
|
||||
}
|
||||
if (l > 1.0f)
|
||||
|
Reference in New Issue
Block a user