AP_Stats: 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:28 +11:00
parent 9d63edbf37
commit e7f200f623

View File

@ -67,7 +67,7 @@ private:
void update_flighttime();
void update_runtime();
HAL_Semaphore_Recursive sem;
HAL_Semaphore sem;
};
namespace AP {