From c2b0bab762043bb3218ad71233ff6058d1c0e13a Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 24 Oct 2019 11:33:44 +1100 Subject: [PATCH] Replay: use ahrs singleton to log ATT, POS and AHRS2 --- Tools/Replay/Replay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/Replay/Replay.cpp b/Tools/Replay/Replay.cpp index 7ef9fe9f54..9ade3d51fe 100644 --- a/Tools/Replay/Replay.cpp +++ b/Tools/Replay/Replay.cpp @@ -619,10 +619,10 @@ void Replay::write_ekf_logs(void) _vehicle.ahrs.Log_Write(); } if (!LogReader::in_list("AHRS2", nottypes)) { - _vehicle.logger.Write_AHRS2(_vehicle.ahrs); + _vehicle.logger.Write_AHRS2(); } if (!LogReader::in_list("POS", nottypes)) { - _vehicle.logger.Write_POS(_vehicle.ahrs); + _vehicle.logger.Write_POS(); } }