mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 15:13:34 +08:00
Mag cal: automatically disable internal mags if external ones are available
This commit is contained in:
committed by
Mathieu Bresciani
parent
430be08131
commit
e3fd50667d
@@ -85,6 +85,7 @@ public:
|
||||
int8_t calibration_index() const { return _calibration_index; }
|
||||
uint32_t device_id() const { return _device_id; }
|
||||
bool enabled() const { return (_priority > 0); }
|
||||
void disable() { _priority = 0; }
|
||||
bool external() const { return _external; }
|
||||
const matrix::Vector3f &offset() const { return _offset; }
|
||||
const int32_t &priority() const { return _priority; }
|
||||
|
||||
Reference in New Issue
Block a user