mirror of https://github.com/ArduPilot/ardupilot
AP_DAL: Compass: populate `learn_offsets_enabled`
This commit is contained in:
parent
b87dd8980a
commit
e1c75e2535
|
@ -24,6 +24,7 @@ void AP_DAL_Compass::start_frame()
|
||||||
_RMGH.num_enabled = compass.get_num_enabled();
|
_RMGH.num_enabled = compass.get_num_enabled();
|
||||||
_RMGH.consistent = compass.consistent();
|
_RMGH.consistent = compass.consistent();
|
||||||
_RMGH.first_usable = compass.get_first_usable();
|
_RMGH.first_usable = compass.get_first_usable();
|
||||||
|
_RMGH.learn_offsets_enabled = compass.learn_offsets_enabled();
|
||||||
|
|
||||||
WRITE_REPLAY_BLOCK_IFCHANGED(RMGH, _RMGH, old);
|
WRITE_REPLAY_BLOCK_IFCHANGED(RMGH, _RMGH, old);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue