[X7D] Audio volume initialization was not correctly done

This commit is contained in:
Bertrand Songis
2016-10-20 17:54:06 +02:00
parent 44133b595d
commit ed07dd76ef
3 changed files with 6 additions and 6 deletions
+5 -2
View File
@@ -2456,8 +2456,11 @@ void opentxInit(OPENTX_INIT_ARGS)
}
#endif
#if defined(VOICE) && !defined(SOFTWARE_VOLUME)
setScaledVolume(g_eeGeneral.speakerVolume+VOLUME_LEVEL_DEF);
#if defined(VOICE)
currentSpeakerVolume = g_eeGeneral.speakerVolume + VOLUME_LEVEL_DEF;
#if !defined(SOFTWARE_VOLUME)
setScaledVolume(currentSpeakerVolume);
#endif
#endif
#if defined(CPUARM)