Cosmetics

This commit is contained in:
Bertrand Songis
2016-01-20 15:19:53 +01:00
parent 3b3555df48
commit da76106465
6 changed files with 14 additions and 8 deletions
+2 -2
View File
@@ -448,11 +448,11 @@ void evalFunctions()
break;
#endif
#if defined(VOLUME_CHIP)
#if defined(HARDWARE_VOLUME)
case FUNC_VOLUME:
{
getvalue_t raw = getValue(CFN_PARAM(cfn));
//only set volume if input changed more than hysteresis
// only set volume if input changed more than hysteresis
if (abs(requiredSpeakerVolumeRawLast - raw) > VOLUME_HYSTERESIS) {
requiredSpeakerVolumeRawLast = raw;
}