From 1e79d265a1118f4173f0cdec5470adf5bd0d3244 Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Thu, 11 Oct 2012 18:31:10 +0900 Subject: [PATCH] ArduCopter: remove unnecessary (probably slightly harmful) extra barometer read The barometer reads including reading temperature was all moved to a timer but this extra read (originally to read the temperature) was probably forgotten. --- ArduCopter/ArduCopter.pde | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index f05b9ab7e9..b86d854c44 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -1258,12 +1258,6 @@ static void medium_loop() // ----------------------- arm_motors(); - // Do an extra baro read for Temp sensing - // --------------------------------------- -#if HIL_MODE != HIL_MODE_ATTITUDE - barometer.read(); -#endif - // agmatthews - USERHOOKS #ifdef USERHOOK_MEDIUMLOOP USERHOOK_MEDIUMLOOP