AP_HAL: move from HAL_NO_SHARED_DMA to AP_HAL_SHARED_DMA_ENABLED

This allows hwdef files to manipulate this value
This commit is contained in:
Peter Barker 2022-07-14 17:47:42 +10:00 committed by Peter Barker
parent 796653630c
commit 51466e04b0
1 changed files with 4 additions and 0 deletions

View File

@ -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