AP_Baro: add accessor for baro drift

This commit is contained in:
Tom Pittenger 2016-01-06 15:48:31 -08:00
parent 2e1eef7cf0
commit 37ee3b44d2

View File

@ -130,6 +130,9 @@ public:
// enable HIL mode
void set_hil_mode(void) { _hil_mode = true; }
// set baro drift amount
void set_baro_drift_altitude(float alt) { _alt_offset = alt; }
private:
// how many drivers do we have?
uint8_t _num_drivers;