mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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
|
// check for new compass data - 10Hz
|
||||||
void Rover::update_compass(void)
|
void Rover::update_compass(void)
|
||||||
{
|
{
|
||||||
if (AP::compass().enabled() && compass.read()) {
|
compass.read();
|
||||||
ahrs.set_compass(&compass);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save compass offsets
|
// Save compass offsets
|
||||||
|
Loading…
Reference in New Issue
Block a user