diff options
author | Julian Oes <julian@oes.ch> | 2014-03-30 15:00:37 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-08-09 19:47:48 +0200 |
commit | 3fdf63d2b3cf25904371cf700e08ce4e8d214824 (patch) | |
tree | af693837d3eb1763321c6e675568eea78642b54c /ROMFS/px4fmu_common | |
parent | 312f9e0ccce9e3f530f6fc222e371a48c3b1af0d (diff) | |
download | px4-firmware-3fdf63d2b3cf25904371cf700e08ce4e8d214824.tar.gz px4-firmware-3fdf63d2b3cf25904371cf700e08ce4e8d214824.tar.bz2 px4-firmware-3fdf63d2b3cf25904371cf700e08ce4e8d214824.zip |
Startup script: added viper script
Conflicts:
mavlink/include/mavlink/v1.0
Diffstat (limited to 'ROMFS/px4fmu_common')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/3035_viper | 10 | ||||
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.autostart | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/3035_viper b/ROMFS/px4fmu_common/init.d/3035_viper new file mode 100644 index 000000000..9c8f8a585 --- /dev/null +++ b/ROMFS/px4fmu_common/init.d/3035_viper @@ -0,0 +1,10 @@ +#!nsh +# +# Viper +# +# Simon Wilks <sjwilks@gmail.com> +# + +sh /etc/init.d/rc.fw_defaults + +set MIXER FMU_FX79
\ No newline at end of file diff --git a/ROMFS/px4fmu_common/init.d/rc.autostart b/ROMFS/px4fmu_common/init.d/rc.autostart index 17541e680..9de7d9ecd 100644 --- a/ROMFS/px4fmu_common/init.d/rc.autostart +++ b/ROMFS/px4fmu_common/init.d/rc.autostart @@ -103,6 +103,11 @@ then sh /etc/init.d/3034_fx79 fi +if param compare SYS_AUTOSTART 3035 35 +then + sh /etc/init.d/3035_viper +fi + if param compare SYS_AUTOSTART 3100 then sh /etc/init.d/3100_tbs_caipirinha |