Browse Source

Mixer load: Be less chatty

sbg
Lorenz Meier 10 years ago
parent
commit
74b63d08e1
  1. 5
      ROMFS/px4fmu_common/init.d/rc.interface

5
ROMFS/px4fmu_common/init.d/rc.interface

@ -9,7 +9,7 @@ then
# Load mixer # Load mixer
# #
#Use the mixer file from the SD-card if it exists # Use the mixer file from the SD-card if it exists
if [ -f /fs/microsd/etc/mixers/$MIXER.mix ] if [ -f /fs/microsd/etc/mixers/$MIXER.mix ]
then then
set MIXER_FILE /fs/microsd/etc/mixers/$MIXER.mix set MIXER_FILE /fs/microsd/etc/mixers/$MIXER.mix
@ -86,11 +86,8 @@ if [ $MIXER_SEC != none ]
then then
if fmu mode_pwm if fmu mode_pwm
then then
echo "[i] FMU mode_pwm started to handle secondary mixer"
# load the specified mixer
mixer load /dev/pwm_output1 /etc/mixers/$MIXER_SEC.mix mixer load /dev/pwm_output1 /etc/mixers/$MIXER_SEC.mix
else else
echo "[i] ERROR: FMU mode_pwm start failed"
tone_alarm $TUNE_ERR tone_alarm $TUNE_ERR
fi fi
fi fi

Loading…
Cancel
Save