mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-04 05:05:19 +08:00
rc.interface:Use tune_control
This commit is contained in:
committed by
Lorenz Meier
parent
ab26bd76ff
commit
f5295d7700
@@ -168,7 +168,7 @@ then
|
|||||||
else
|
else
|
||||||
echo "ERROR [init] Failed loading mixer: ${MIXER_FILE}"
|
echo "ERROR [init] Failed loading mixer: ${MIXER_FILE}"
|
||||||
echo "ERROR [init] Failed loading mixer: ${MIXER_FILE}" >> $LOG_FILE
|
echo "ERROR [init] Failed loading mixer: ${MIXER_FILE}" >> $LOG_FILE
|
||||||
tone_alarm ${TUNE_ERR}
|
tune_control play -t 20
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
@@ -176,7 +176,7 @@ else
|
|||||||
then
|
then
|
||||||
echo "ERROR [init] Mixer undefined"
|
echo "ERROR [init] Mixer undefined"
|
||||||
echo "ERROR [init] Mixer undefined" >> $LOG_FILE
|
echo "ERROR [init] Mixer undefined" >> $LOG_FILE
|
||||||
tone_alarm ${TUNE_ERR}
|
tune_control play -t 20
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -226,7 +226,7 @@ then
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "ERROR: Could not start: fmu mode_pwm" >> $LOG_FILE
|
echo "ERROR: Could not start: fmu mode_pwm" >> $LOG_FILE
|
||||||
tone_alarm ${TUNE_ERR}
|
tune_control play -t 20
|
||||||
set PWM_AUX_OUT none
|
set PWM_AUX_OUT none
|
||||||
set FAILSAFE_AUX none
|
set FAILSAFE_AUX none
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user