Browse Source

ArduCopter: Added check to make sure user defined approach alt is at least 5.

master
Adam M Rivera 13 years ago
parent
commit
2954bf6f76
  1. 2
      ArduCopter/ArduCopter.pde

2
ArduCopter/ArduCopter.pde

@ -1814,7 +1814,7 @@ static void update_navigation() @@ -1814,7 +1814,7 @@ static void update_navigation()
wp_control = LOITER_MODE;
}
if(g.rtl_approach_alt > 0){
if(g.rtl_approach_alt > 5){
set_mode(APPROACH);
}
// Kick us out of loiter and begin landing if the auto_land_timer is set

Loading…
Cancel
Save