Skip to content

Commit bf23ca7

Browse files
committed
Added log entries for the rc.interfaces file as well.
1 parent 8144a84 commit bf23ca7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ROMFS/px4fmu_common/init.d/rc.interface

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ then
4848
echo "[i] Mixer: $MIXER_FILE on $OUTPUT_DEV"
4949
else
5050
echo "[i] Error loading mixer: $MIXER_FILE"
51+
echo "ERROR: Could not load mixer: $MIXER_FILE" >> $LOG_FILE
5152
tone_alarm $TUNE_ERR
5253
fi
5354

@@ -56,6 +57,7 @@ else
5657
if [ $MIXER != skip ]
5758
then
5859
echo "[i] Mixer not defined"
60+
echo "ERROR: Mixer not defined" >> $LOG_FILE
5961
tone_alarm $TUNE_ERR
6062
fi
6163
fi
@@ -125,8 +127,10 @@ then
125127
echo "[i] Mixer: $MIXER_AUX_FILE on $OUTPUT_AUX_DEV"
126128
else
127129
echo "[i] Error loading mixer: $MIXER_AUX_FILE"
130+
echo "ERROR: Could not load mixer: $MIXER_AUX_FILE" >> $LOG_FILE
128131
fi
129132
else
133+
echo "ERROR: Could not start: fmu mode_pwm" >> $LOG_FILE
130134
tone_alarm $TUNE_ERR
131135
fi
132136

0 commit comments

Comments
 (0)