mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 20:13:34 +08:00
rft: explicit naming sc to spacecraft
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
# NOTE: Script variables are declared/initialized/unset in the rcS script.
|
# NOTE: Script variables are declared/initialized/unset in the rcS script.
|
||||||
#
|
#
|
||||||
|
|
||||||
set VEHICLE_TYPE sc
|
set VEHICLE_TYPE spacecraft
|
||||||
|
|
||||||
# MAV_TYPE_SPACECRAFT
|
# MAV_TYPE_SPACECRAFT
|
||||||
param set-default MAV_TYPE 7
|
param set-default MAV_TYPE 7
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Spapcecraft setup.
|
# Spapcecraft setup.
|
||||||
#
|
#
|
||||||
if [ $VEHICLE_TYPE = sc ]
|
if [ $VEHICLE_TYPE = spacecraft ]
|
||||||
then
|
then
|
||||||
# Start standard multicopter apps.
|
# Start standard multicopter apps.
|
||||||
. ${R}etc/init.d/rc.sc_apps
|
. ${R}etc/init.d/rc.sc_apps
|
||||||
|
|||||||
Reference in New Issue
Block a user