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

This commit is contained in:
Adam M Rivera 2012-04-15 16:58:22 -05:00
parent cddcdb8be3
commit 2954bf6f76
1 changed files with 1 additions and 1 deletions

View File

@ -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