Browse Source

AP_DAL: added healthy() method for airspeed

zr-v5.1
Andrew Tridgell 4 years ago
parent
commit
d16af5448b
  1. 4
      libraries/AP_DAL/AP_DAL_Airspeed.h

4
libraries/AP_DAL/AP_DAL_Airspeed.h

@ -15,6 +15,10 @@ public: @@ -15,6 +15,10 @@ public:
bool healthy(uint8_t i) const {
return _RASI[i].healthy;
}
// return health status of primary sensor
bool healthy() const {
return healthy(get_primary());
}
// return true if airspeed is enabled, and airspeed use is set
bool use(uint8_t i) const {

Loading…
Cancel
Save