mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: created baro drift offset accessor
This commit is contained in:
parent
6c0579a895
commit
f1f58e2026
|
@ -133,6 +133,9 @@ public:
|
|||
// set baro drift amount
|
||||
void set_baro_drift_altitude(float alt) { _alt_offset = alt; }
|
||||
|
||||
// get baro drift amount
|
||||
float get_baro_drift_offset(void) { return _alt_offset_active; }
|
||||
|
||||
private:
|
||||
// how many drivers do we have?
|
||||
uint8_t _num_drivers;
|
||||
|
|
Loading…
Reference in New Issue