mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 16:48:52 +08:00
px4fmu move RC input to new rc_input driver
This commit is contained in:
@@ -87,11 +87,6 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $OUTPUT_MODE == tap_esc ]
|
||||
then
|
||||
set FMU_MODE rcin
|
||||
fi
|
||||
|
||||
if [ $OUTPUT_MODE == fmu ]
|
||||
then
|
||||
if fmu mode_$FMU_MODE $FMU_ARGS
|
||||
|
||||
@@ -398,6 +398,11 @@ else
|
||||
tune_control play -t 2
|
||||
fi
|
||||
|
||||
if [ $IO_PRESENT == no -o $USE_IO == no ]
|
||||
then
|
||||
rc_input start
|
||||
fi
|
||||
|
||||
#
|
||||
# Sensors System (start before Commander so Preflight checks are properly run).
|
||||
# Commander Needs to be this early for in-air-restarts.
|
||||
|
||||
Reference in New Issue
Block a user