mirror of https://github.com/ArduPilot/ardupilot
Rover: stop using AHRS as conduit for Compass pointer
This commit is contained in:
parent
85e8b362a7
commit
8c2cf123af
|
@ -5,9 +5,7 @@
|
|||
// check for new compass data - 10Hz
|
||||
void Rover::update_compass(void)
|
||||
{
|
||||
if (AP::compass().enabled() && compass.read()) {
|
||||
ahrs.set_compass(&compass);
|
||||
}
|
||||
compass.read();
|
||||
}
|
||||
|
||||
// Save compass offsets
|
||||
|
|
Loading…
Reference in New Issue