Compass: add learn_offsets_enabled accessor method

This commit is contained in:
Randy Mackay 2014-07-09 17:09:32 +09:00
parent 108c878b04
commit a778522cef
1 changed files with 3 additions and 0 deletions

View File

@ -162,6 +162,9 @@ public:
set_and_save_offsets(i, Vector3f(x, y, z));
}
// learn offsets accessor
bool learn_offsets_enabled() const { return _learn; }
/// Perform automatic offset updates
///
void learn_offsets(void);