From 610e747f27f58dbe40b0c7b817d87e73e81f7f43 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 4 Aug 2014 21:03:48 +0900 Subject: [PATCH] Copter: minor formatting fix --- ArduCopter/Attitude.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/Attitude.pde b/ArduCopter/Attitude.pde index ba2b108032..a496cc49c8 100644 --- a/ArduCopter/Attitude.pde +++ b/ArduCopter/Attitude.pde @@ -100,8 +100,8 @@ static void update_thr_cruise() if (throttle > g.throttle_min && abs(climb_rate) < 60 && labs(ahrs.roll_sensor) < 500 && labs(ahrs.pitch_sensor) < 500) { throttle_avg = throttle_avg * 0.99f + (float)throttle * 0.01f; g.throttle_cruise = throttle_avg; - // update position controller - pos_control.set_throttle_hover(throttle_avg); + // update position controller + pos_control.set_throttle_hover(throttle_avg); } }