mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AntennaTracker: stop using AHRS as conduit for Compass pointer
This commit is contained in:
parent
78e63a8852
commit
b2575c2b1d
@ -13,9 +13,7 @@ void Tracker::update_ahrs()
|
||||
*/
|
||||
void Tracker::update_compass(void)
|
||||
{
|
||||
if (AP::compass().enabled() && compass.read()) {
|
||||
ahrs.set_compass(&compass);
|
||||
}
|
||||
compass.read();
|
||||
}
|
||||
|
||||
// Save compass offsets
|
||||
|
Loading…
Reference in New Issue
Block a user