ardupilot/libraries/AP_DroneCAN/canard/canard_helpers_user.h

9 lines
163 B
C++

#include <AP_HAL/AP_HAL.h> // to include SEMAPHORE
namespace Canard {
typedef ::HAL_Semaphore Semaphore;
}
#define CANARD_MALLOC malloc
#define CANARD_FREE free