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:
Andrew Tridgell 2020-01-19 08:57:21 +11:00
parent 48486d259f
commit 3b95b5e692

View File

@ -559,7 +559,7 @@ protected:
void update_nmea_out();
// multi-thread access support
HAL_Semaphore_Recursive _rsem;
HAL_Semaphore _rsem;
AHRS_VehicleClass _vehicle_class;