Copter: minor formatting fix

This commit is contained in:
Randy Mackay 2014-08-04 21:03:48 +09:00
parent 1362bdc338
commit 610e747f27

View File

@ -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);
}
}