mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Rover: use compass singleton for logging
This commit is contained in:
parent
4e0c6b873f
commit
ca264b1932
@ -197,7 +197,7 @@ void Rover::update_compass(void)
|
||||
ahrs.set_compass(&compass);
|
||||
// update offsets
|
||||
if (should_log(MASK_LOG_COMPASS)) {
|
||||
DataFlash.Log_Write_Compass(compass);
|
||||
DataFlash.Log_Write_Compass();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user