VRBRAIN: Removed the stop in case of error on startup of magnetometer.

Thus should enable to fly without a magnetometer.
This commit is contained in:
LukeMike 2014-06-18 16:04:25 +02:00 committed by Emile Castelnuovo
parent 8f3a4bc88b
commit 33537b26ce
2 changed files with 7 additions and 7 deletions

View File

@ -85,7 +85,7 @@ then
# fi
else
echo "[APM] HMC5883 external start failed"
sh /etc/init.d/rc.error
# sh /etc/init.d/rc.error
fi
if mpu6000_onboard start

View File

@ -47,18 +47,18 @@ else
sh /etc/init.d/rc.error
fi
if hmc5883_onboard start
if hmc5883_external start
then
echo "[APMNS] HMC5883 onboard started OK"
echo "[APMNS] HMC5883 external started OK"
# if hmc5883 calibrate
# then
# echo "[APMNS] HMC5883 onboard calibrate OK"
# echo "[APMNS] HMC5883 external calibrate OK"
# else
# echo "[APMNS] HMC5883 onboard calibrate failed"
# echo "[APMNS] HMC5883 external calibrate failed"
# fi
else
echo "[APMNS] HMC5883 onboard start failed"
sh /etc/init.d/rc.error
echo "[APMNS] HMC5883 external start failed"
# sh /etc/init.d/rc.error
fi
if mpu6000_onboard start