Tracker: split home-set and home-locked state

This commit is contained in:
Peter Barker 2018-05-18 12:58:13 +10:00 committed by Andrew Tridgell
parent c99cc465e6
commit 7be25fccea
1 changed files with 0 additions and 1 deletions

View File

@ -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();