AP_Logger: simplify setting of HAL_LOGGER_FENCE_ENABLED

This is automatically unset in chibios_hwdef.py
This commit is contained in:
Peter Barker 2023-02-03 16:38:04 +11:00 committed by Peter Barker
parent c1806e961c
commit edb0a9b7fe

View File

@ -45,4 +45,4 @@
#define REPLAY_LOG_NEW_MSG_MIN 220 #define REPLAY_LOG_NEW_MSG_MIN 220
#include <AC_Fence/AC_Fence_config.h> #include <AC_Fence/AC_Fence_config.h>
#define HAL_LOGGER_FENCE_ENABLED (AP_FENCE_ENABLED && !defined(HAL_BUILD_AP_PERIPH)) #define HAL_LOGGER_FENCE_ENABLED AP_FENCE_ENABLED