mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
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));
|
||||
}
|
||||
|
||||
// learn offsets accessor
|
||||
bool learn_offsets_enabled() const { return _learn; }
|
||||
|
||||
/// Perform automatic offset updates
|
||||
///
|
||||
void learn_offsets(void);
|
||||
|
Loading…
Reference in New Issue
Block a user