AP_HAL: added HAL_Semaphore_Recursive

This commit is contained in:
Andrew Tridgell
2018-08-25 15:44:36 +10:00
parent a09576052b
commit 55dfefb2d6
4 changed files with 7 additions and 0 deletions
+1
View File
@@ -41,6 +41,7 @@
// allow for static semaphores
#include <AP_HAL_ChibiOS/Semaphores.h>
#define HAL_Semaphore ChibiOS::Semaphore
#define HAL_Semaphore_Recursive ChibiOS::Semaphore_Recursive
/* string names for well known SPI devices */
#define HAL_BARO_MS5611_NAME "ms5611"
+2
View File
@@ -398,3 +398,5 @@
#include <AP_HAL_Linux/Semaphores.h>
#define HAL_Semaphore Linux::Semaphore
#define HAL_Semaphore_Recursive Linux::Semaphore_Recursive
+2
View File
@@ -143,3 +143,5 @@
#include <AP_HAL_PX4/Semaphores.h>
#define HAL_Semaphore PX4::Semaphore
#define HAL_Semaphore_Recursive PX4::Semaphore_Recursive
+2
View File
@@ -24,3 +24,5 @@
// allow for static semaphores
#include <AP_HAL_SITL/Semaphores.h>
#define HAL_Semaphore HALSITL::Semaphore
#define HAL_Semaphore_Recursive HALSITL::Semaphore_Recursive