aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rcS
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2013-10-11 14:05:11 +0200
committerJulian Oes <julian@oes.ch>2013-10-11 14:05:11 +0200
commit2d23d5fd4ec3a00ae18c63304a3b1b3905d7de66 (patch)
treedfe21bf4ddd3b10e2e92cd3d6be206de5a445616 /ROMFS/px4fmu_common/init.d/rcS
parent326f241185f45d9e2d4377e8096a8a2f05f65b0d (diff)
parent1306c9de7b946783ff1143bb42a33734e9380e2c (diff)
downloadpx4-firmware-2d23d5fd4ec3a00ae18c63304a3b1b3905d7de66.tar.gz
px4-firmware-2d23d5fd4ec3a00ae18c63304a3b1b3905d7de66.tar.bz2
px4-firmware-2d23d5fd4ec3a00ae18c63304a3b1b3905d7de66.zip
Merge remote-tracking branch 'px4/master' into pwm_ioctls
Conflicts: src/drivers/px4io/px4io.cpp
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rcS')
-rwxr-xr-xROMFS/px4fmu_common/init.d/rcS17
1 files changed, 17 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS
index 9ec346465..93e76184d 100755
--- a/ROMFS/px4fmu_common/init.d/rcS
+++ b/ROMFS/px4fmu_common/init.d/rcS
@@ -225,6 +225,23 @@ then
sh /etc/init.d/rc.custom_dji_f330_mkblctrl
set MODE custom
fi
+
+ # PX4FMU v1 with IO + PPM-based ESCs on Quad X-shape frame
+ if param compare SYS_AUTOSTART 21
+ then
+ set FRAME_GEOMETRY x
+ set ESC_MAKER afro
+ sh /etc/init.d/rc.custom_io_esc
+ set MODE custom
+ fi
+
+ # PX4FMU v1 with IO + PPM-based ESCs on Quad X-shape frame
+ if param compare SYS_AUTOSTART 22
+ then
+ set FRAME_GEOMETRY w
+ sh /etc/init.d/rc.custom_io_esc
+ set MODE custom
+ fi
if param compare SYS_AUTOSTART 30
then