Changed ARDRONE to an OUTPUT_MODE setting and added a skip option to mixer. Fewer beeps than before.

This commit is contained in:
Helen Oleynikova
2014-03-06 12:45:10 +01:00
parent bcdc8c9e1d
commit a897c97d95
3 changed files with 17 additions and 10 deletions
+6 -3
View File
@@ -3,7 +3,7 @@
# Script to configure control interface
#
if [ $MIXER != none ]
if [ $MIXER != none -a $MIXER != skip]
then
#
# Load mixer
@@ -33,8 +33,11 @@ then
tone_alarm $TUNE_OUT_ERROR
fi
else
echo "[init] Mixer not defined"
tone_alarm $TUNE_OUT_ERROR
if [ $MIXER != skip ]
then
echo "[init] Mixer not defined"
tone_alarm $TUNE_OUT_ERROR
fi
fi
if [ $OUTPUT_MODE == fmu -o $OUTPUT_MODE == io ]