Plane: leave AHRS to log and notify home changes

This commit is contained in:
Peter Barker 2018-10-10 14:26:19 +11:00 committed by Andrew Tridgell
parent dc52ca2192
commit 9e4e17c797
1 changed files with 0 additions and 2 deletions

View File

@ -139,6 +139,4 @@ void Plane::set_home_persistently(const Location &loc)
void Plane::set_home(const Location &loc)
{
ahrs.set_home(loc);
ahrs.Log_Write_Home_And_Origin();
gcs().send_home();
}