Browse Source

VRBRAIN: some not important adjustments

mission-4.1.18
LukeMike 11 years ago committed by Emile Castelnuovo
parent
commit
69f75886e1
  1. 22
      mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rc.APM
  2. 22
      mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rc.APMNS

22
mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rc.APM

@ -74,6 +74,20 @@ else @@ -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 @@ -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

22
mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rc.APMNS

@ -47,6 +47,20 @@ else @@ -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 @@ -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

Loading…
Cancel
Save