mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
Rover: adjust for changed logging APIs
This commit is contained in:
parent
b31e896ef3
commit
ac4da762d1
@ -167,7 +167,6 @@ void Rover::ahrs_update()
|
||||
|
||||
if (should_log(MASK_LOG_IMU)) {
|
||||
DataFlash.Log_Write_IMU(ins);
|
||||
DataFlash.Log_Write_IMUDT(ins);
|
||||
}
|
||||
}
|
||||
|
||||
@ -351,7 +350,7 @@ void Rover::update_GPS_50Hz(void)
|
||||
if (gps.last_message_time_ms(i) != last_gps_reading[i]) {
|
||||
last_gps_reading[i] = gps.last_message_time_ms(i);
|
||||
if (should_log(MASK_LOG_GPS)) {
|
||||
DataFlash.Log_Write_GPS(gps, i, current_loc.alt);
|
||||
DataFlash.Log_Write_GPS(gps, i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user