mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AP_Airspeed: switched to recursive semaphore
this is needed by the SDP3X driver. It is the simplest fix for the issue
This commit is contained in:
parent
a1ad8fbd80
commit
e03e0bccae
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user