move airmind_mindpx-v2 init to rc.board

This commit is contained in:
Daniel Agar
2018-11-30 14:38:06 -05:00
parent c9a2033c5b
commit a3fed608a6
5 changed files with 51 additions and 47 deletions
-14
View File
@@ -51,20 +51,6 @@ then
fi
if ver hwcmp AIRMIND_MINDPX_V2
then
# External I2C bus
hmc5883 -C -T -X start
# Internal I2C bus
hmc5883 -C -T -I -R 12 start
mpu6000 -s -R 8 start
mpu9250 -s -R 8 start
lsm303d -R 10 start
l3gd20 -R 14 start
fi
if ver hwcmp ATMEL_SAME70XPLAINED_V1
then
# External I2C bus
-8
View File
@@ -461,14 +461,6 @@ else
vmount start
fi
#
# Launch the flow sensor as a background task.
#
if ver hwcmp PX4_FMU_V4 AIRMIND_MINDPX_V2
then
px4flow start &
fi
#
# Start any custom addons.
#
-25
View File
@@ -21,31 +21,6 @@ if adc start
then
fi
if ver hwcmp AIRMIND_MINDPX_V2
then
# External I2C bus
if hmc5883 -C -T -X start
then
fi
# Internal I2C bus
if hmc5883 -C -T -I -R 12 start
then
fi
if mpu9250 -s -R 8 start
then
fi
if lsm303d -R 10 start
then
fi
if l3gd20 -R 14 start
then
fi
fi
if sdp3x_airspeed start
then
fi