mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-11 02:13:57 -04:00
VRBRAIN: some not important adjustments
This commit is contained in:
parent
3adb04dd71
commit
69f75886e1
@ -74,6 +74,20 @@ else
|
|||||||
sh /etc/init.d/rc.error
|
sh /etc/init.d/rc.error
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#if hmc5883_onboard start
|
||||||
|
#then
|
||||||
|
# echo "[APM] HMC5883 onboard started OK"
|
||||||
|
# if hmc5883 calibrate
|
||||||
|
# then
|
||||||
|
# echo "[APM] HMC5883 onboard calibrate OK"
|
||||||
|
# else
|
||||||
|
# echo "[APM] HMC5883 onboard calibrate failed"
|
||||||
|
# fi
|
||||||
|
#else
|
||||||
|
# echo "[APM] HMC5883 onboard start failed"
|
||||||
|
# sh /etc/init.d/rc.error
|
||||||
|
#fi
|
||||||
|
|
||||||
if hmc5883_external start
|
if hmc5883_external start
|
||||||
then
|
then
|
||||||
echo "[APM] HMC5883 external started OK"
|
echo "[APM] HMC5883 external started OK"
|
||||||
@ -96,6 +110,14 @@ else
|
|||||||
sh /etc/init.d/rc.error
|
sh /etc/init.d/rc.error
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#if mpu6000_external start
|
||||||
|
#then
|
||||||
|
# echo "[APM] MPU6000 external started OK"
|
||||||
|
#else
|
||||||
|
# echo "[APM] MPU6000 external start failed"
|
||||||
|
# sh /etc/init.d/rc.error
|
||||||
|
#fi
|
||||||
|
|
||||||
echo "[APM] Starting MTD driver"
|
echo "[APM] Starting MTD driver"
|
||||||
if mtd start /fs/mtd
|
if mtd start /fs/mtd
|
||||||
then
|
then
|
||||||
|
@ -47,6 +47,20 @@ else
|
|||||||
sh /etc/init.d/rc.error
|
sh /etc/init.d/rc.error
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#if hmc5883_onboard start
|
||||||
|
#then
|
||||||
|
# echo "[APMNS] HMC5883 onboard started OK"
|
||||||
|
# if hmc5883 calibrate
|
||||||
|
# then
|
||||||
|
# echo "[APMNS] HMC5883 onboard calibrate OK"
|
||||||
|
# else
|
||||||
|
# echo "[APMNS] HMC5883 onboard calibrate failed"
|
||||||
|
# fi
|
||||||
|
#else
|
||||||
|
# echo "[APMNS] HMC5883 onboard start failed"
|
||||||
|
# sh /etc/init.d/rc.error
|
||||||
|
#fi
|
||||||
|
|
||||||
if hmc5883_external start
|
if hmc5883_external start
|
||||||
then
|
then
|
||||||
echo "[APMNS] HMC5883 external started OK"
|
echo "[APMNS] HMC5883 external started OK"
|
||||||
@ -69,6 +83,14 @@ else
|
|||||||
sh /etc/init.d/rc.error
|
sh /etc/init.d/rc.error
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#if mpu6000_external start
|
||||||
|
#then
|
||||||
|
# echo "[APMNS] MPU6000 external started OK"
|
||||||
|
#else
|
||||||
|
# echo "[APMNS] MPU6000 external start failed"
|
||||||
|
# sh /etc/init.d/rc.error
|
||||||
|
#fi
|
||||||
|
|
||||||
echo "[APMNS] Starting MTD driver"
|
echo "[APMNS] Starting MTD driver"
|
||||||
if mtd start /fs/mtd
|
if mtd start /fs/mtd
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user