AP_AHRS: 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
48486d259f
commit
3b95b5e692
@ -559,7 +559,7 @@ protected:
|
||||
void update_nmea_out();
|
||||
|
||||
// multi-thread access support
|
||||
HAL_Semaphore_Recursive _rsem;
|
||||
HAL_Semaphore _rsem;
|
||||
|
||||
AHRS_VehicleClass _vehicle_class;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user