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:
parent
a4fa99c96c
commit
df56d8a8dd
@ -5,7 +5,7 @@
|
|||||||
#if defined(NUM_SERVO_CHANNELS) && NUM_SERVO_CHANNELS == 0
|
#if defined(NUM_SERVO_CHANNELS) && NUM_SERVO_CHANNELS == 0
|
||||||
#define HAL_WITH_ESC_TELEM 0
|
#define HAL_WITH_ESC_TELEM 0
|
||||||
#elif !defined(HAL_WITH_ESC_TELEM)
|
#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
|
#endif
|
||||||
|
|
||||||
#if HAL_WITH_ESC_TELEM
|
#if HAL_WITH_ESC_TELEM
|
||||||
|
Loading…
Reference in New Issue
Block a user