mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 22:13:34 +08:00
Added log entries for the rc.interfaces file as well.
This commit is contained in:
@@ -48,6 +48,7 @@ then
|
|||||||
echo "[i] Mixer: $MIXER_FILE on $OUTPUT_DEV"
|
echo "[i] Mixer: $MIXER_FILE on $OUTPUT_DEV"
|
||||||
else
|
else
|
||||||
echo "[i] Error loading mixer: $MIXER_FILE"
|
echo "[i] Error loading mixer: $MIXER_FILE"
|
||||||
|
echo "ERROR: Could not load mixer: $MIXER_FILE" >> $LOG_FILE
|
||||||
tone_alarm $TUNE_ERR
|
tone_alarm $TUNE_ERR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -56,6 +57,7 @@ else
|
|||||||
if [ $MIXER != skip ]
|
if [ $MIXER != skip ]
|
||||||
then
|
then
|
||||||
echo "[i] Mixer not defined"
|
echo "[i] Mixer not defined"
|
||||||
|
echo "ERROR: Mixer not defined" >> $LOG_FILE
|
||||||
tone_alarm $TUNE_ERR
|
tone_alarm $TUNE_ERR
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -125,8 +127,10 @@ then
|
|||||||
echo "[i] Mixer: $MIXER_AUX_FILE on $OUTPUT_AUX_DEV"
|
echo "[i] Mixer: $MIXER_AUX_FILE on $OUTPUT_AUX_DEV"
|
||||||
else
|
else
|
||||||
echo "[i] Error loading mixer: $MIXER_AUX_FILE"
|
echo "[i] Error loading mixer: $MIXER_AUX_FILE"
|
||||||
|
echo "ERROR: Could not load mixer: $MIXER_AUX_FILE" >> $LOG_FILE
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
echo "ERROR: Could not start: fmu mode_pwm" >> $LOG_FILE
|
||||||
tone_alarm $TUNE_ERR
|
tone_alarm $TUNE_ERR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user