AP_InertialSensor: make all semaphores recursive

the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
This commit is contained in:
Andrew Tridgell 2020-01-19 08:57:26 +11:00
parent 4aa78dc891
commit 58708c483f

View File

@ -115,7 +115,7 @@ protected:
AP_InertialSensor &_imu;
// semaphore for access to shared frontend data
HAL_Semaphore_Recursive _sem;
HAL_Semaphore _sem;
//Default Clip Limit
float _clip_limit = 15.5f * GRAVITY_MSS;