Sub: leave AHRS to log and notify home changes

This commit is contained in:
Peter Barker 2018-10-10 14:26:36 +11:00 committed by Andrew Tridgell
parent 9e4e17c797
commit da5ed06714

View File

@ -88,13 +88,6 @@ bool Sub::set_home(const Location& loc, bool lock)
ahrs.lock_home(); ahrs.lock_home();
} }
// log ahrs home and ekf origin dataflash
ahrs.Log_Write_Home_And_Origin();
// send new home and ekf origin to GCS
gcs().send_home();
gcs().send_ekf_origin();
// return success // return success
return true; return true;
} }