ACM: fixed a alt hold bug

== instead of =
This commit is contained in:
Andrew Tridgell 2012-01-05 10:14:30 +11:00
parent 3c965ff1a2
commit 734b0a02be

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;
}