diff --git a/mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rc.APM b/mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rc.APM index 244c98cd7c..0fde96edd2 100644 --- a/mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rc.APM +++ b/mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rc.APM @@ -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 diff --git a/mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rc.APMNS b/mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rc.APMNS index daf4d005b2..0af6467805 100644 --- a/mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rc.APMNS +++ b/mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rc.APMNS @@ -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