aboutsummaryrefslogtreecommitdiff
path: root/ROMFS
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-07-16 15:17:33 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-07-16 15:17:33 +0200
commit0b81d9883a67a6277d85a603fde4ebbbc001d20f (patch)
tree037ab68baf3460fd96bdf257657edf4b2c18a705 /ROMFS
parentede1deaed6303c9ba22663fec950b9a2a66c53e5 (diff)
downloadpx4-firmware-0b81d9883a67a6277d85a603fde4ebbbc001d20f.tar.gz
px4-firmware-0b81d9883a67a6277d85a603fde4ebbbc001d20f.tar.bz2
px4-firmware-0b81d9883a67a6277d85a603fde4ebbbc001d20f.zip
Strip excessive binary text to save some flash, start all three sensor sets
Diffstat (limited to 'ROMFS')
-rw-r--r--ROMFS/px4fmu_common/init.d/rc.sensors11
1 files changed, 0 insertions, 11 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors
index 5a755b89e..ecb408a54 100644
--- a/ROMFS/px4fmu_common/init.d/rc.sensors
+++ b/ROMFS/px4fmu_common/init.d/rc.sensors
@@ -8,22 +8,18 @@ adc start
if mpu6000 -X start
then
- echo "External MPU6000"
fi
if mpu6000 start
then
- echo "Internal MPU6000"
fi
if l3gd20 -X start
then
- echo "External L3GD20(H)"
fi
if l3gd20 start
then
- echo "Internal L3GD20(H)"
fi
# MAG selection
@@ -31,7 +27,6 @@ if param compare SENS_EXT_MAG 2
then
if hmc5883 -I start
then
- echo "Internal HMC5883"
fi
else
# Use only external as primary
@@ -39,13 +34,11 @@ else
then
if hmc5883 -X start
then
- echo "External HMC5883"
fi
else
# auto-detect the primary, prefer external
if hmc5883 start
then
- echo "Default HMC5883"
fi
fi
fi
@@ -54,12 +47,10 @@ if ver hwcmp PX4FMU_V2
then
if lsm303d -X start
then
- echo "External LSM303D"
fi
if lsm303d start
then
- echo "Internal LSM303D"
fi
fi
@@ -70,11 +61,9 @@ then
else
if ets_airspeed start
then
- echo "[init] Using ETS airspeed sensor (bus 3)"
else
if ets_airspeed start -b 1
then
- echo "[init] Using ETS airspeed sensor (bus 1)"
fi
fi
fi