PX4: enabled SPI hmc5883 for FMUv3

This commit is contained in:
Andrew Tridgell 2015-03-10 14:41:05 +11:00
parent 0447f6216a
commit f05c4eb019
1 changed files with 4 additions and 0 deletions

View File

@ -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