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:
Andrew Tridgell 2020-01-19 08:57:27 +11:00
parent 17a762fd36
commit 9d63edbf37
1 changed files with 1 additions and 1 deletions

View File

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