AP_Baro: created baro drift offset accessor

This commit is contained in:
Tom Pittenger 2016-05-13 13:01:11 -07:00
parent 6c0579a895
commit f1f58e2026
1 changed files with 3 additions and 0 deletions

View File

@ -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;