Browse Source

AP_AHRS: retry sending home/origin if it fails

master
Peter Barker 6 years ago committed by Peter Barker
parent
commit
6fd687e861
  1. 4
      libraries/AP_AHRS/AP_AHRS_DCM.cpp

4
libraries/AP_AHRS/AP_AHRS_DCM.cpp

@ -1055,8 +1055,8 @@ bool AP_AHRS_DCM::set_home(const Location &loc) @@ -1055,8 +1055,8 @@ bool AP_AHRS_DCM::set_home(const Location &loc)
Log_Write_Home_And_Origin();
// send new home and ekf origin to GCS
gcs().send_home();
gcs().send_ekf_origin();
gcs().send_message(MSG_HOME);
gcs().send_message(MSG_ORIGIN);
return true;
}

Loading…
Cancel
Save