AP_ESC_Telem: don't default ESC telem on for AP_Periph

require it to be enabled specifically. Otherwise we end up with ESC
status msgs in GPS modules
This commit is contained in:
Andrew Tridgell 2022-08-27 20:38:01 +10:00
parent a4fa99c96c
commit df56d8a8dd
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
#if defined(NUM_SERVO_CHANNELS) && NUM_SERVO_CHANNELS == 0
#define HAL_WITH_ESC_TELEM 0
#elif !defined(HAL_WITH_ESC_TELEM)
#define HAL_WITH_ESC_TELEM HAL_SUPPORT_RCOUT_SERIAL || HAL_MAX_CAN_PROTOCOL_DRIVERS
#define HAL_WITH_ESC_TELEM (HAL_SUPPORT_RCOUT_SERIAL || HAL_MAX_CAN_PROTOCOL_DRIVERS) && !defined(HAL_BUILD_AP_PERIPH)
#endif
#if HAL_WITH_ESC_TELEM