mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_NavEKF2: do not pass GPS into Log_Write_GPS; it uses singleton
This commit is contained in:
parent
e73a02343a
commit
578facc9ad
@ -575,7 +575,7 @@ void NavEKF2::check_log_write(void)
|
||||
logging.log_compass = false;
|
||||
}
|
||||
if (logging.log_gps) {
|
||||
DataFlash_Class::instance()->Log_Write_GPS(AP::gps(), AP::gps().primary_sensor(), imuSampleTime_us);
|
||||
DataFlash_Class::instance()->Log_Write_GPS(AP::gps().primary_sensor(), imuSampleTime_us);
|
||||
logging.log_gps = false;
|
||||
}
|
||||
if (logging.log_baro) {
|
||||
|
Loading…
Reference in New Issue
Block a user