mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
AP_GPS: 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
23b3000e3a
commit
cf8becfa71
@ -493,7 +493,7 @@ protected:
|
||||
|
||||
private:
|
||||
static AP_GPS *_singleton;
|
||||
HAL_Semaphore_Recursive rsem;
|
||||
HAL_Semaphore rsem;
|
||||
|
||||
// returns the desired gps update rate in milliseconds
|
||||
// this does not provide any guarantee that the GPS is updating at the requested
|
||||
|
Loading…
Reference in New Issue
Block a user