Browse Source

added a simple rest of nav_throttle just in case

mission-4.1.18
Jason Short 13 years ago
parent
commit
f27e9f9ca1
  1. 3
      ArduCopter/system.pde

3
ArduCopter/system.pde

@ -531,6 +531,9 @@ static void set_mode(byte mode) @@ -531,6 +531,9 @@ static void set_mode(byte mode)
if(throttle_mode == THROTTLE_MANUAL){
// reset all of the throttle iterms
update_throttle_cruise();
// reset auto_throttle
nav_throttle = 0;
}else {
// an automatic throttle
init_throttle_cruise();

Loading…
Cancel
Save