Browse Source

PX4: make compass calibrate fail non-fatal

until we sort out what is going on with compass calibration failures
this is the best option
mission-4.1.18
Andrew Tridgell 11 years ago
parent
commit
11956ece7c
  1. 4
      mk/PX4/ROMFS/init.d/rc.APM

4
mk/PX4/ROMFS/init.d/rc.APM

@ -198,7 +198,7 @@ then @@ -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 @@ -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

Loading…
Cancel
Save