mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-24 08:56:04 +08:00
AP_HAL: added HAL_Semaphore_Recursive
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -398,3 +398,5 @@
|
||||
|
||||
#include <AP_HAL_Linux/Semaphores.h>
|
||||
#define HAL_Semaphore Linux::Semaphore
|
||||
#define HAL_Semaphore_Recursive Linux::Semaphore_Recursive
|
||||
|
||||
|
||||
@@ -143,3 +143,5 @@
|
||||
|
||||
#include <AP_HAL_PX4/Semaphores.h>
|
||||
#define HAL_Semaphore PX4::Semaphore
|
||||
#define HAL_Semaphore_Recursive PX4::Semaphore_Recursive
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user