ACM: fixed a alt hold bug

== instead of =
This commit is contained in:
Andrew Tridgell 2012-01-05 10:14:30 +11:00
parent 92f9c0b648
commit c1c3115b42
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ static bool verify_land()
if((current_loc.alt - home.alt) < 300 && velocity_land <= 100){
land_complete = true;
// reset old_alt
old_alt == 0;
old_alt = 0;
init_disarm_motors();
return true;
}