mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AP_NavEKF3: log correct GPS for replay
This commit is contained in:
parent
407a60e599
commit
18927395d7
@ -583,7 +583,7 @@ void NavEKF3::check_log_write(void)
|
||||
logging.log_compass = false;
|
||||
}
|
||||
if (logging.log_gps) {
|
||||
DataFlash_Class::instance()->Log_Write_GPS(_ahrs->get_gps(), 0, imuSampleTime_us);
|
||||
DataFlash_Class::instance()->Log_Write_GPS(_ahrs->get_gps(), _ahrs->get_gps().primary_sensor(), imuSampleTime_us);
|
||||
logging.log_gps = false;
|
||||
}
|
||||
if (logging.log_baro) {
|
||||
|
Loading…
Reference in New Issue
Block a user