From 9fd72b6a68a6b5090993cf783f4d3b7f033c1015 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 10 Mar 2023 13:14:15 +1100 Subject: [PATCH] AP_HAL: specify AP_STATS_ENABLED for periph in chibios_hwdef.py --- libraries/AP_HAL/AP_HAL_Boards.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL/AP_HAL_Boards.h b/libraries/AP_HAL/AP_HAL_Boards.h index 35d1ea5681..3934350e3a 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -260,7 +260,7 @@ #endif #ifndef AP_STATS_ENABLED -#define AP_STATS_ENABLED (!defined(HAL_BUILD_AP_PERIPH)) +#define AP_STATS_ENABLED 1 #endif #ifndef HAL_WITH_MCU_MONITORING