mirror of https://github.com/ArduPilot/ardupilot
Tracker: split home-set and home-locked state
This commit is contained in:
parent
c99cc465e6
commit
7be25fccea
|
@ -163,7 +163,6 @@ void Tracker::set_home(struct Location temp)
|
|||
Location ekf_origin;
|
||||
if (ahrs.get_origin(ekf_origin)) {
|
||||
ahrs.set_home(temp);
|
||||
ahrs.set_home_status(HOME_SET_NOT_LOCKED);
|
||||
}
|
||||
|
||||
gcs().send_home();
|
||||
|
|
Loading…
Reference in New Issue