From dafd030904d2ffc7bd887bc0bc4ceeed81181057 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 10 Nov 2019 16:45:48 +1100 Subject: [PATCH] AP_Airspeed: switched to recursive semaphore this is needed by the SDP3X driver. It is the simplest fix for the issue --- libraries/AP_Airspeed/AP_Airspeed_Backend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);