mirror of https://github.com/ArduPilot/ardupilot
Compass: add learn_offsets_enabled accessor method
This commit is contained in:
parent
108c878b04
commit
a778522cef
|
@ -162,6 +162,9 @@ public:
|
||||||
set_and_save_offsets(i, Vector3f(x, y, z));
|
set_and_save_offsets(i, Vector3f(x, y, z));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// learn offsets accessor
|
||||||
|
bool learn_offsets_enabled() const { return _learn; }
|
||||||
|
|
||||||
/// Perform automatic offset updates
|
/// Perform automatic offset updates
|
||||||
///
|
///
|
||||||
void learn_offsets(void);
|
void learn_offsets(void);
|
||||||
|
|
Loading…
Reference in New Issue