Browse Source

Copter: minor formatting fix

mission-4.1.18
Randy Mackay 11 years ago
parent
commit
610e747f27
  1. 4
      ArduCopter/Attitude.pde

4
ArduCopter/Attitude.pde

@ -100,8 +100,8 @@ static void update_thr_cruise() @@ -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);
}
}

Loading…
Cancel
Save