Browse Source

arducopter

alt hold state reset
mission-4.1.18
Jason Short 13 years ago
parent
commit
a7b1252b51
  1. 3
      ArduCopter/system.pde

3
ArduCopter/system.pde

@ -439,11 +439,10 @@ static void set_mode(byte mode) @@ -439,11 +439,10 @@ static void set_mode(byte mode)
motors.auto_armed(g.rc_3.control_in > 0);
// clearing value used in interactive alt hold
manual_boost = 0;
reset_throttle_counter = 0;
// clearing value used to force the copter down in landing mode
landing_boost = 0;
reset_throttle_flag = false;
// do we want to come to a stop or pass a WP?
slow_wp = false;

Loading…
Cancel
Save