diff options
author | Helen Oleynikova <helenoleynikova@gmail.com> | 2014-03-06 12:45:10 +0100 |
---|---|---|
committer | Helen Oleynikova <helenoleynikova@gmail.com> | 2014-03-06 12:45:10 +0100 |
commit | a897c97d955de4873aea1f01f65cab11faab2d3a (patch) | |
tree | 17682e87f44a09e23592171d5e3ddbb2213ec71e /ROMFS/px4fmu_common/init.d/rc.interface | |
parent | bcdc8c9e1dcefc2176fd1f853d4bae90e7d196d6 (diff) | |
download | px4-firmware-a897c97d955de4873aea1f01f65cab11faab2d3a.tar.gz px4-firmware-a897c97d955de4873aea1f01f65cab11faab2d3a.tar.bz2 px4-firmware-a897c97d955de4873aea1f01f65cab11faab2d3a.zip |
Changed ARDRONE to an OUTPUT_MODE setting and added a skip option to mixer. Fewer beeps than before.
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.interface')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.interface | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.interface b/ROMFS/px4fmu_common/init.d/rc.interface index d25f01dde..afe71460d 100644 --- a/ROMFS/px4fmu_common/init.d/rc.interface +++ b/ROMFS/px4fmu_common/init.d/rc.interface @@ -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 ] |