diff --git a/libraries/AP_DAL/AP_DAL_Airspeed.h b/libraries/AP_DAL/AP_DAL_Airspeed.h index 4a390cdd37..4a4ab22b4c 100644 --- a/libraries/AP_DAL/AP_DAL_Airspeed.h +++ b/libraries/AP_DAL/AP_DAL_Airspeed.h @@ -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 {