forked from Archive/PX4-Autopilot
Script: As recent driver refactoring checkes start argument first, we change script accordingly.
This commit is contained in:
parent
fd0ea29fc6
commit
2b54e19adf
|
@ -18,16 +18,16 @@ then
|
|||
rgbled_ncp5623c start -X -a 0x38
|
||||
|
||||
#mpu6000 -s -R 4 -T 20608 start
|
||||
mpu9250 -s -R 4 start
|
||||
mpu9250 start -s -R 4
|
||||
|
||||
# Default GNSS with LIS3MDL magnetometer with external i2c.
|
||||
lis3mdl -R 2 -X start
|
||||
lis3mdl start -R 2 -X
|
||||
fi
|
||||
|
||||
# Draco
|
||||
if param compare SYS_AUTOSTART 4072
|
||||
then
|
||||
mpu9250 -s -R 2 start
|
||||
mpu9250 start -s -R 2
|
||||
fi
|
||||
|
||||
# IFO
|
||||
|
@ -39,8 +39,8 @@ then
|
|||
# IFO rgb LED
|
||||
pca9685 -X start
|
||||
|
||||
mpu9250 -s -R 2 start
|
||||
lis3mdl -R 2 -X start
|
||||
mpu9250 start -s -R 2
|
||||
lis3mdl start -R 2 -X
|
||||
fi
|
||||
|
||||
# IFO-S
|
||||
|
@ -50,8 +50,8 @@ then
|
|||
rgbled_ncp5623c start -X -a 0x38
|
||||
|
||||
# IMU
|
||||
mpu9250 -R 2 start
|
||||
lis3mdl -R 2 -X start
|
||||
mpu9250 start -s -R 2
|
||||
lis3mdl start -R 2 -X
|
||||
|
||||
# FLOW on SPI2
|
||||
pmw3901 start -s 2
|
||||
|
|
Loading…
Reference in New Issue