mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 02:36:37 +08:00
init: USE_LOGGING and USE_GPS env vars removed
This commit is contained in:
@@ -226,8 +226,6 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
set EXIT_ON_END no
|
set EXIT_ON_END no
|
||||||
set USE_LOGGING yes
|
|
||||||
set USE_GPS yes
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Set parameters and env variables for selected AUTOSTART
|
# Set parameters and env variables for selected AUTOSTART
|
||||||
@@ -276,16 +274,10 @@ then
|
|||||||
sh /etc/init.d/rc.sensors
|
sh /etc/init.d/rc.sensors
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
if [ $USE_LOGGING == yes ]
|
sh /etc/init.d/rc.logging
|
||||||
then
|
|
||||||
sh /etc/init.d/rc.logging
|
|
||||||
fi
|
|
||||||
|
|
||||||
# GPS interface
|
# GPS interface
|
||||||
if [ $USE_GPS == yes ]
|
gps start
|
||||||
then
|
|
||||||
gps start
|
|
||||||
fi
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Fixed wing setup
|
# Fixed wing setup
|
||||||
|
|||||||
Reference in New Issue
Block a user