PX4: make compass calibrate fail non-fatal

until we sort out what is going on with compass calibration failures
this is the best option
This commit is contained in:
Andrew Tridgell 2014-03-11 13:32:47 +11:00
parent a26bcddb9b
commit 11956ece7c

View File

@ -198,7 +198,7 @@ then
else
echo "hmc5883 calibrate failed"
echo "hmc5883 calibrate failed" >> $logfile
sh /etc/init.d/rc.error
tone_alarm MSBBB
fi
else
echo "hmc5883 start failed"
@ -229,7 +229,7 @@ else
else
echo "hmc5883 calibrate failed"
echo "hmc5883 calibrate failed" >> $logfile
sh /etc/init.d/rc.error
tone_alarm MSBBB
fi
fi