mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Add CodeQL for GitHub code scanning (#1548)
* Create codeql.yml * Addressing codeql findings
This commit is contained in:
@@ -61,7 +61,7 @@ int RgbTransform::getBacklightThreshold() const
|
||||
return _backlightThreshold;
|
||||
}
|
||||
|
||||
void RgbTransform::setBacklightThreshold(int backlightThreshold)
|
||||
void RgbTransform::setBacklightThreshold(double backlightThreshold)
|
||||
{
|
||||
_backlightThreshold = backlightThreshold;
|
||||
_sumBrightnessLow = 765.0 * ((qPow(2.0,(_backlightThreshold/100)*2)-1) / 3.0);
|
||||
|
Reference in New Issue
Block a user