mirror of https://github.com/ArduPilot/ardupilot
GCS_Common: defer to AP_AHRS::set_origin to write logs
This commit is contained in:
parent
f422537f70
commit
10f39c3d28
|
@ -3586,10 +3586,6 @@ void GCS_MAVLINK::set_ekf_origin(const Location& loc)
|
|||
return;
|
||||
}
|
||||
|
||||
#if HAL_LOGGING_ENABLED
|
||||
ahrs.Log_Write_Home_And_Origin();
|
||||
#endif
|
||||
|
||||
// send ekf origin to GCS
|
||||
if (!try_send_message(MSG_ORIGIN)) {
|
||||
// try again later
|
||||
|
|
Loading…
Reference in New Issue