mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
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:
parent
4aa78dc891
commit
58708c483f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user