mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
Start the hmc5883 before the lsm303d so that an external mag is used
This commit is contained in:
@@ -18,10 +18,12 @@ fi
|
|||||||
ms5611 start
|
ms5611 start
|
||||||
adc start
|
adc start
|
||||||
|
|
||||||
|
# mag might be external
|
||||||
|
hmc5883 start
|
||||||
|
|
||||||
if mpu6000 start
|
if mpu6000 start
|
||||||
then
|
then
|
||||||
echo "using MPU6000 and HMC5883L"
|
echo "using MPU6000"
|
||||||
hmc5883 start
|
|
||||||
set BOARD fmuv1
|
set BOARD fmuv1
|
||||||
else
|
else
|
||||||
echo "using L3GD20 and LSM303D"
|
echo "using L3GD20 and LSM303D"
|
||||||
|
|||||||
Reference in New Issue
Block a user