mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
Startup script: added viper script
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
#!nsh
|
||||||
|
#
|
||||||
|
# Viper
|
||||||
|
#
|
||||||
|
# Simon Wilks <sjwilks@gmail.com>
|
||||||
|
#
|
||||||
|
|
||||||
|
sh /etc/init.d/rc.fw_defaults
|
||||||
|
|
||||||
|
set MIXER FMU_FX79
|
||||||
@@ -103,6 +103,11 @@ then
|
|||||||
sh /etc/init.d/3034_fx79
|
sh /etc/init.d/3034_fx79
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if param compare SYS_AUTOSTART 3035 35
|
||||||
|
then
|
||||||
|
sh /etc/init.d/3035_viper
|
||||||
|
fi
|
||||||
|
|
||||||
if param compare SYS_AUTOSTART 3100
|
if param compare SYS_AUTOSTART 3100
|
||||||
then
|
then
|
||||||
sh /etc/init.d/3100_tbs_caipirinha
|
sh /etc/init.d/3100_tbs_caipirinha
|
||||||
|
|||||||
Reference in New Issue
Block a user