diff --git a/libraries/AP_Airspeed/AP_Airspeed_Backend.h b/libraries/AP_Airspeed/AP_Airspeed_Backend.h index 73248d6802..8e0b51bce9 100644 --- a/libraries/AP_Airspeed/AP_Airspeed_Backend.h +++ b/libraries/AP_Airspeed/AP_Airspeed_Backend.h @@ -46,7 +46,7 @@ protected: } // semaphore for access to shared frontend data - HAL_Semaphore sem; + HAL_Semaphore_Recursive sem; float get_airspeed_ratio(void) const { return frontend.get_airspeed_ratio(instance);