[X7D] Audio volume initialization was not correctly done

This commit is contained in:
Bertrand Songis
2016-10-20 18:26:22 +02:00
parent ed07dd76ef
commit 774bd48b47
+1 -1
View File
@@ -2456,7 +2456,7 @@ void opentxInit(OPENTX_INIT_ARGS)
} }
#endif #endif
#if defined(VOICE) #if defined(VOICE) && defined(CPUARM)
currentSpeakerVolume = g_eeGeneral.speakerVolume + VOLUME_LEVEL_DEF; currentSpeakerVolume = g_eeGeneral.speakerVolume + VOLUME_LEVEL_DEF;
#if !defined(SOFTWARE_VOLUME) #if !defined(SOFTWARE_VOLUME)
setScaledVolume(currentSpeakerVolume); setScaledVolume(currentSpeakerVolume);