AP_InertialSensor: AP_InertialSensor_Flymaple::healthy() was required after

all.
This commit is contained in:
Mike McCauley 2014-01-22 09:14:46 +10:00 committed by Andrew Tridgell
parent 0a43cf8c5c
commit dd6abb49a9

View File

@ -24,6 +24,7 @@ public:
bool wait_for_sample(uint16_t timeout_ms);
bool get_gyro_health(void) const;
bool get_accel_health(void) const;
bool healthy(void) const { return get_gyro_health() && get_accel_health(); } // testing
private:
uint16_t _init_sensor( Sample_rate sample_rate );