From 5f5a200f4a46ed63a96be4011249d94aa312401b Mon Sep 17 00:00:00 2001 From: Simon Wilks Date: Sat, 22 Mar 2014 10:09:30 +0100 Subject: [PATCH] Add support for the SkyHunter 1800 --- ROMFS/px4fmu_common/init.d/2103_skyhunter_1800 | 5 +++++ ROMFS/px4fmu_common/init.d/rc.autostart | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 ROMFS/px4fmu_common/init.d/2103_skyhunter_1800 diff --git a/ROMFS/px4fmu_common/init.d/2103_skyhunter_1800 b/ROMFS/px4fmu_common/init.d/2103_skyhunter_1800 new file mode 100644 index 0000000000..9bc0262d83 --- /dev/null +++ b/ROMFS/px4fmu_common/init.d/2103_skyhunter_1800 @@ -0,0 +1,5 @@ +#!nsh + +sh /etc/init.d/rc.fw_defaults + +set MIXER FMU_AET diff --git a/ROMFS/px4fmu_common/init.d/rc.autostart b/ROMFS/px4fmu_common/init.d/rc.autostart index 4ae6a27940..5ec735d393 100644 --- a/ROMFS/px4fmu_common/init.d/rc.autostart +++ b/ROMFS/px4fmu_common/init.d/rc.autostart @@ -68,6 +68,12 @@ then set MODE custom fi +if param compare SYS_AUTOSTART 2103 103 +then + sh /etc/init.d/2103_skyhunter_1800 + set MODE custom +fi + # # Flying wing #