mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAL_LOGGING_ENABLED
|
|
||||||
ahrs.Log_Write_Home_And_Origin();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// send ekf origin to GCS
|
// send ekf origin to GCS
|
||||||
if (!try_send_message(MSG_ORIGIN)) {
|
if (!try_send_message(MSG_ORIGIN)) {
|
||||||
// try again later
|
// try again later
|
||||||
|
Loading…
Reference in New Issue
Block a user