aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/scripts/rc.sensors
diff options
context:
space:
mode:
Diffstat (limited to 'ROMFS/scripts/rc.sensors')
-rw-r--r--ROMFS/scripts/rc.sensors34
1 files changed, 0 insertions, 34 deletions
diff --git a/ROMFS/scripts/rc.sensors b/ROMFS/scripts/rc.sensors
deleted file mode 100644
index 42c2f52e9..000000000
--- a/ROMFS/scripts/rc.sensors
+++ /dev/null
@@ -1,34 +0,0 @@
-#!nsh
-#
-# Standard startup script for PX4FMU onboard sensor drivers.
-#
-
-#
-# Start sensor drivers here.
-#
-
-ms5611 start
-adc start
-
-if mpu6000 start
-then
- echo "using MPU6000 and HMC5883L"
- hmc5883 start
-else
- echo "using L3GD20 and LSM303D"
- l3gd20 start
- lsm303 start
-fi
-
-#
-# Start the sensor collection task.
-# IMPORTANT: this also loads param offsets
-# ALWAYS start this task before the
-# preflight_check.
-#
-sensors start
-
-#
-# Check sensors - run AFTER 'sensors start'
-#
-preflight_check \ No newline at end of file