forked from Archive/PX4-Autopilot
rc.interface: remove unnecessary fmu start for RC input
RC input is now handled via rc_input module
This commit is contained in:
parent
9ba2e91fa1
commit
fcd3a04b07
|
@ -108,7 +108,7 @@ then
|
|||
fi
|
||||
|
||||
#
|
||||
# Start IO or FMU for RC PPM input if needed.
|
||||
# Start IO for RC input if needed.
|
||||
#
|
||||
if [ $IO_PRESENT == yes ]
|
||||
then
|
||||
|
@ -116,17 +116,6 @@ then
|
|||
then
|
||||
sh /etc/init.d/rc.io
|
||||
fi
|
||||
else
|
||||
if [ $OUTPUT_MODE != fmu ]
|
||||
then
|
||||
if fmu mode_${FMU_MODE} $FMU_ARGS
|
||||
then
|
||||
else
|
||||
echo "FMU mode_${FMU_MODE} start failed" >> $LOG_FILE
|
||||
# Error tune.
|
||||
tune_control play -t 2
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue