From b09dd7b866021bdc3c7c2d910b7e1f85b6eb465c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 1 Mar 2024 11:06:20 +1100 Subject: [PATCH] AP_HAL_ChibiOS: move defaulting of HAL_WITH_ESC_TELEM for periph --- libraries/AP_HAL_ChibiOS/hwdef/scripts/defaults_periph.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/defaults_periph.h b/libraries/AP_HAL_ChibiOS/hwdef/scripts/defaults_periph.h index 00906d5410835..1ac7ab88ec58e 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/defaults_periph.h +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/defaults_periph.h @@ -317,6 +317,10 @@ #define AP_SCRIPTING_ENABLED 0 #endif +#ifndef HAL_WITH_ESC_TELEM +#define HAL_WITH_ESC_TELEM 0 +#endif + #ifndef AP_BATTERY_ESC_TELEM_OUTBOUND_ENABLED #define AP_BATTERY_ESC_TELEM_OUTBOUND_ENABLED 0 #endif