mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
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
Block a user