AP_DAL: Compass: populate `learn_offsets_enabled`

This commit is contained in:
Iampete1 2023-01-30 16:30:55 +00:00 committed by Andrew Tridgell
parent b87dd8980a
commit e1c75e2535
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ void AP_DAL_Compass::start_frame()
_RMGH.num_enabled = compass.get_num_enabled();
_RMGH.consistent = compass.consistent();
_RMGH.first_usable = compass.get_first_usable();
_RMGH.learn_offsets_enabled = compass.learn_offsets_enabled();
WRITE_REPLAY_BLOCK_IFCHANGED(RMGH, _RMGH, old);