aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/px4fmu_common/init.d/rc.fw_interface
diff options
context:
space:
mode:
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.fw_interface')
-rw-r--r--ROMFS/px4fmu_common/init.d/rc.fw_interface34
1 files changed, 0 insertions, 34 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.fw_interface b/ROMFS/px4fmu_common/init.d/rc.fw_interface
deleted file mode 100644
index 133b65218..000000000
--- a/ROMFS/px4fmu_common/init.d/rc.fw_interface
+++ /dev/null
@@ -1,34 +0,0 @@
-#!nsh
-#
-# Script to configure fixedwing control interface
-#
-
-#
-# Force some key parameters to sane values
-# MAV_TYPE 1 = fixed wing
-#
-param set MAV_TYPE 1
-
-#
-# Load mixer
-#
-echo "[init] Frame geometry: $FRAME_GEOMETRY"
-set MIXERSD /fs/microsd/etc/mixers/FMU_$FRAME_GEOMETRY.mix
-
-#Use the mixer file from the sd-card if it exists
-if [ -f $MIXERSD ]
-then
- set MIXER $MIXERSD
-else
- set MIXER /etc/mixers/FMU_$FRAME_GEOMETRY.mix
-fi
-
-
-
-if mixer load /dev/pwm_output $MIXER
-then
- echo "[init] Mixer loaded: $MIXER"
-else
- echo "[init] Error loading mixer: $MIXER"
- tone_alarm $TUNE_OUT_ERROR
-fi