From 1c274c93a5058464220ce6c3fa2e4972107a420e Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Fri, 28 Apr 2023 15:05:35 +1000 Subject: [PATCH] AP_DroneCAN: update helpers user to add CANARD_MALLOC and CANARD_FREE --- libraries/AP_DroneCAN/canard/canard_helpers_user.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_DroneCAN/canard/canard_helpers_user.h b/libraries/AP_DroneCAN/canard/canard_helpers_user.h index ff4e1d6c98..22d8de6b82 100644 --- a/libraries/AP_DroneCAN/canard/canard_helpers_user.h +++ b/libraries/AP_DroneCAN/canard/canard_helpers_user.h @@ -3,3 +3,6 @@ namespace Canard { typedef ::HAL_Semaphore Semaphore; } + +#define CANARD_MALLOC malloc +#define CANARD_FREE free