AntennaTracker: stop using AHRS as conduit for Compass pointer

This commit is contained in:
Peter Barker 2021-07-26 10:32:13 +10:00 committed by Peter Barker
parent 78e63a8852
commit b2575c2b1d

View File

@ -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