From 077dd82bdc5f4356b3bc045f035f02b9481d80b7 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 29 Feb 2024 15:39:18 +1100 Subject: [PATCH] AP_HAL_ChibiOS: add and use AP_CUSTOMROTATIONS_ENABLED also add to build_options.py --- 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 47e90a8828..00906d5410 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/defaults_periph.h +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/defaults_periph.h @@ -441,3 +441,7 @@ #ifndef AP_RC_CHANNEL_ENABLED #define AP_RC_CHANNEL_ENABLED 0 #endif + +#ifndef AP_CUSTOMROTATIONS_ENABLED +#define AP_CUSTOMROTATIONS_ENABLED 0 +#endif