From 51466e04b04942d63b1f1ad713e2cf097cd51ae0 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 14 Jul 2022 17:47:42 +1000 Subject: [PATCH] AP_HAL: move from HAL_NO_SHARED_DMA to AP_HAL_SHARED_DMA_ENABLED This allows hwdef files to manipulate this value --- libraries/AP_HAL/AP_HAL_Boards.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL/AP_HAL_Boards.h b/libraries/AP_HAL/AP_HAL_Boards.h index 9d9dd5c67c..5ae4318755 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -257,6 +257,10 @@ #define USE_LIBC_REALLOC 1 #endif +#ifndef AP_HAL_SHARED_DMA_ENABLED +#define AP_HAL_SHARED_DMA_ENABLED 1 +#endif + #ifndef HAL_ENABLE_THREAD_STATISTICS #define HAL_ENABLE_THREAD_STATISTICS 0 #endif