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.
This commit is contained in:
rmackay9 2012-10-11 18:31:10 +09:00
parent cf3e49eea2
commit 1e79d265a1
1 changed files with 0 additions and 6 deletions

View File

@ -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