From 38bbb2361e274604fe63d2b263b0c2e4e5b60f54 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 3 Jun 2022 13:48:03 +1000 Subject: [PATCH] AP_HAL: set AP_STATS_ENABLED default 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 6bc0e9d551..9d9dd5c67c 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -265,6 +265,10 @@ #define HAL_INS_ENABLED (!defined(HAL_BUILD_AP_PERIPH)) #endif +#ifndef AP_STATS_ENABLED +#define AP_STATS_ENABLED (!defined(HAL_BUILD_AP_PERIPH)) +#endif + #ifndef HAL_WITH_MCU_MONITORING #define HAL_WITH_MCU_MONITORING 0 #endif