Replay: use ahrs singleton to log ATT, POS and AHRS2

This commit is contained in:
Peter Barker 2019-10-24 11:33:44 +11:00 committed by Peter Barker
parent 3cd66dbdd9
commit f431c0b256
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}
}