mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AP_Compass_HMC5843: use new compass backend interface
This commit is contained in:
parent
8800d03fce
commit
ade39abc7f
@ -462,7 +462,10 @@ void AP_Compass_HMC5843::read()
|
||||
field.rotate(ROTATION_YAW_90);
|
||||
}
|
||||
|
||||
publish_field(field, _compass_instance);
|
||||
|
||||
rotate_field(field, _compass_instance);
|
||||
correct_field(field, _compass_instance);
|
||||
publish_filtered_field(field, _compass_instance);
|
||||
_retry_time = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user