mirror of https://github.com/ArduPilot/ardupilot
PX4: enabled SPI hmc5883 for FMUv3
This commit is contained in:
parent
0447f6216a
commit
f05c4eb019
|
@ -302,6 +302,10 @@ else
|
||||||
echo "No MPU6000" >> $logfile
|
echo "No MPU6000" >> $logfile
|
||||||
sh /etc/init.d/rc.error
|
sh /etc/init.d/rc.error
|
||||||
fi
|
fi
|
||||||
|
if hmc5883 -C -S -R 8 start
|
||||||
|
then
|
||||||
|
echo "Found SPI hmc5883"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if mpu6000 start
|
if mpu6000 start
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue