forked from Archive/PX4-Autopilot
Mixer load: Be less chatty
This commit is contained in:
parent
5c5bba5d5f
commit
74b63d08e1
|
@ -9,7 +9,7 @@ then
|
|||
# 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 ]
|
||||
then
|
||||
set MIXER_FILE /fs/microsd/etc/mixers/$MIXER.mix
|
||||
|
@ -86,11 +86,8 @@ if [ $MIXER_SEC != none ]
|
|||
then
|
||||
if fmu mode_pwm
|
||||
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
|
||||
else
|
||||
echo "[i] ERROR: FMU mode_pwm start failed"
|
||||
tone_alarm $TUNE_ERR
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue