mirror of https://github.com/ArduPilot/ardupilot
AP_RTC: 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
17a762fd36
commit
9d63edbf37
|
@ -57,7 +57,7 @@ public:
|
|||
private:
|
||||
|
||||
static AP_RTC *_singleton;
|
||||
HAL_Semaphore_Recursive rsem;
|
||||
HAL_Semaphore rsem;
|
||||
|
||||
source_type rtc_source_type = SOURCE_NONE;
|
||||
int64_t rtc_shift;
|
||||
|
|
Loading…
Reference in New Issue