diff --git a/libraries/AP_Logger/AP_Logger_config.h b/libraries/AP_Logger/AP_Logger_config.h index 027b68b78f..92f25cc3ca 100644 --- a/libraries/AP_Logger/AP_Logger_config.h +++ b/libraries/AP_Logger/AP_Logger_config.h @@ -45,4 +45,4 @@ #define REPLAY_LOG_NEW_MSG_MIN 220 #include -#define HAL_LOGGER_FENCE_ENABLED (AP_FENCE_ENABLED && !defined(HAL_BUILD_AP_PERIPH)) +#define HAL_LOGGER_FENCE_ENABLED AP_FENCE_ENABLED