Added missing audio volume initialization (caused by ed07dd76ef)

This commit is contained in:
Damjan Adamic
2016-10-23 21:00:47 +02:00
parent e580927fc1
commit 0eba5c4c9c
+1 -1
View File
@@ -2457,7 +2457,7 @@ void opentxInit(OPENTX_INIT_ARGS)
#endif #endif
#if defined(VOICE) && defined(CPUARM) #if defined(VOICE) && defined(CPUARM)
currentSpeakerVolume = g_eeGeneral.speakerVolume + VOLUME_LEVEL_DEF; currentSpeakerVolume = requiredSpeakerVolume = g_eeGeneral.speakerVolume + VOLUME_LEVEL_DEF;
#if !defined(SOFTWARE_VOLUME) #if !defined(SOFTWARE_VOLUME)
setScaledVolume(currentSpeakerVolume); setScaledVolume(currentSpeakerVolume);
#endif #endif