GCS_Common: defer to AP_AHRS::set_origin to write logs

This commit is contained in:
Clyde McQueen 2024-04-01 12:16:11 -07:00 committed by Andrew Tridgell
parent f422537f70
commit 10f39c3d28
1 changed files with 0 additions and 4 deletions

View File

@ -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