Support the SYS_USE_IO=0 operation mode even with AUX mixer file present

This commit is contained in:
Lorenz Meier 2015-08-04 23:26:54 +02:00
parent 4cf51beb4b
commit da4d8a5c2b
1 changed files with 8 additions and 1 deletions

View File

@ -98,6 +98,13 @@ then
fi
# check if should load secondary mixer
set OUTPUT_AUX_DEV /dev/pwm_output1
if [ -f $OUTPUT_AUX_DEV ]
then
else
set MIXER_AUX none
fi
if [ $MIXER_AUX != none ]
then
#
@ -105,7 +112,6 @@ then
#
set MIXER_AUX_FILE none
set OUTPUT_AUX_DEV /dev/pwm_output1
if [ -f $SDCARD_MIXERS_PATH/$MIXER_AUX.aux.mix ]
then
@ -169,3 +175,4 @@ then
fi
fi
unset OUTPUT_DEV
unset OUTPUT_AUX_DEV