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:
Andrew Tridgell 2020-01-19 08:57:24 +11:00
parent 23b3000e3a
commit cf8becfa71

View File

@ -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