VRBRAIN: some not important adjustments

This commit is contained in:
LukeMike 2014-06-19 17:23:17 +02:00 committed by Emile Castelnuovo
parent 3adb04dd71
commit 69f75886e1
2 changed files with 44 additions and 0 deletions

View File

@ -74,6 +74,20 @@ else
sh /etc/init.d/rc.error
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
then
echo "[APM] HMC5883 external started OK"
@ -96,6 +110,14 @@ else
sh /etc/init.d/rc.error
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"
if mtd start /fs/mtd
then

View File

@ -47,6 +47,20 @@ else
sh /etc/init.d/rc.error
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
then
echo "[APMNS] HMC5883 external started OK"
@ -69,6 +83,14 @@ else
sh /etc/init.d/rc.error
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"
if mtd start /fs/mtd
then