mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Allow software based volume control (#3556)
* Allow software based volume control - enable it for AR9X - rename "HARDWARE_VOLUME" defines to "MASTER_VOLUME" - adjust build-firmware.py and fwoptions.py * Software based volume control: Do it right * whitespace cleanup * software volume: cleanup/revert some leftovers of undone changes
This commit is contained in:
parent
beb21ab7db
commit
0c926e5d19
9 changed files with 16 additions and 8 deletions
|
@ -1088,7 +1088,7 @@ void evalMixes(uint8_t tick10ms)
|
|||
// must be done after mixing because some functions use the inputs/channels values
|
||||
// must be done before limits because of the applyLimit function: it checks for safety switches which would be not initialized otherwise
|
||||
if (tick10ms) {
|
||||
#if defined(HARDWARE_VOLUME)
|
||||
#if defined(MASTER_VOLUME)
|
||||
requiredSpeakerVolume = g_eeGeneral.speakerVolume + VOLUME_LEVEL_DEF;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue