Browse Source

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
zr-v5.1
Andrew Tridgell 5 years ago
parent
commit
cf8becfa71
  1. 2
      libraries/AP_GPS/AP_GPS.h

2
libraries/AP_GPS/AP_GPS.h

@ -493,7 +493,7 @@ protected: @@ -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…
Cancel
Save