From 11956ece7c5bd66c13805a6d820df13b204b448b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 11 Mar 2014 13:32:47 +1100 Subject: [PATCH] PX4: make compass calibrate fail non-fatal until we sort out what is going on with compass calibration failures this is the best option --- mk/PX4/ROMFS/init.d/rc.APM | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/PX4/ROMFS/init.d/rc.APM b/mk/PX4/ROMFS/init.d/rc.APM index eb4da2fb49..c8500228db 100644 --- a/mk/PX4/ROMFS/init.d/rc.APM +++ b/mk/PX4/ROMFS/init.d/rc.APM @@ -198,7 +198,7 @@ then else echo "hmc5883 calibrate failed" echo "hmc5883 calibrate failed" >> $logfile - sh /etc/init.d/rc.error + tone_alarm MSBBB fi else echo "hmc5883 start failed" @@ -229,7 +229,7 @@ else else echo "hmc5883 calibrate failed" echo "hmc5883 calibrate failed" >> $logfile - sh /etc/init.d/rc.error + tone_alarm MSBBB fi fi