aboutsummaryrefslogtreecommitdiff
path: root/ROMFS
diff options
context:
space:
mode:
authorLorenz Meier <lorenz@px4.io>2015-02-08 23:40:45 +0100
committerLorenz Meier <lorenz@px4.io>2015-02-08 23:40:45 +0100
commitd8aebe1c07f64960fe526990bd6e5f37f4510f2c (patch)
tree73e2b8e905eb58714061edbd6445f29fe12262e7 /ROMFS
parent60dcff447c39d4ac2602895522f9d5a343d6cc87 (diff)
downloadpx4-firmware-d8aebe1c07f64960fe526990bd6e5f37f4510f2c.tar.gz
px4-firmware-d8aebe1c07f64960fe526990bd6e5f37f4510f2c.tar.bz2
px4-firmware-d8aebe1c07f64960fe526990bd6e5f37f4510f2c.zip
Update rcS
Fixing test statements
Diffstat (limited to 'ROMFS')
-rw-r--r--ROMFS/px4fmu_test/init.d/rcS28
1 files changed, 4 insertions, 24 deletions
diff --git a/ROMFS/px4fmu_test/init.d/rcS b/ROMFS/px4fmu_test/init.d/rcS
index b0c17b1af..2c5c0e559 100644
--- a/ROMFS/px4fmu_test/init.d/rcS
+++ b/ROMFS/px4fmu_test/init.d/rcS
@@ -111,33 +111,13 @@ then
fi
adc start
-# XXX this syntax is not quite right, but if takes no flags (yet)
-if hmc5883 -I -S start
-then
-fi
-if [ $? != 0 ]
-then
- # This is an FMUv1 or FMUv2
- echo "FMUv2 (or FMUv3 where 'hmc5883 -I -S start' failed)"
- ms5611 start
- mpu6000 start
- lsm303d start
- l3gd20 start
-else
- # This is a FMUv3
- echo "FMUv3"
- mpu6000 -X start
- mpu6000 start
- lsm303d -X start
- l3gd20 -X start
- ms5611 start
-fi
+ms5611 start
+mpu6000 start
+lsm303d start
+l3gd20 start
if tests all
then
-fi
-if [ $? != 0 ]
-then
set unit_test_failure 1
set unit_test_failure_list "${unit_test_failure_list} system_tests"
fi