AP_ESC_Telem: move defaulting of HAL_WITH_ESC_TELEM for periph

This commit is contained in:
Peter Barker 2024-03-01 11:06:20 +11:00 committed by Andrew Tridgell
parent 61560fd129
commit d0a7b54e61

View File

@ -4,5 +4,5 @@
#include <SRV_Channel/SRV_Channel_config.h> #include <SRV_Channel/SRV_Channel_config.h>
#ifndef HAL_WITH_ESC_TELEM #ifndef HAL_WITH_ESC_TELEM
#define HAL_WITH_ESC_TELEM ((NUM_SERVO_CHANNELS > 0) && ((HAL_SUPPORT_RCOUT_SERIAL || HAL_MAX_CAN_PROTOCOL_DRIVERS) && !defined(HAL_BUILD_AP_PERIPH))) #define HAL_WITH_ESC_TELEM ((NUM_SERVO_CHANNELS > 0) && ((HAL_SUPPORT_RCOUT_SERIAL || HAL_MAX_CAN_PROTOCOL_DRIVERS)))
#endif #endif