ACM: fixed a alt hold bug
== instead of =
This commit is contained in:
parent
3c965ff1a2
commit
734b0a02be
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user