mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
ArduPlane: stop using AHRS as conduit for Compass pointer
This commit is contained in:
parent
b2575c2b1d
commit
85e8b362a7
@ -185,9 +185,7 @@ void Plane::update_speed_height(void)
|
||||
*/
|
||||
void Plane::update_compass(void)
|
||||
{
|
||||
if (AP::compass().enabled() && compass.read()) {
|
||||
ahrs.set_compass(&compass);
|
||||
}
|
||||
compass.read();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user