mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 05:10:35 +08:00
Mixer load: Be less chatty
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user