Skip to content

Commit

Permalink
AP_ESC_Telem: move defaulting of HAL_WITH_ESC_TELEM for periph
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and tridge committed Mar 5, 2024
1 parent 61560fd commit d0a7b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_ESC_Telem/AP_ESC_Telem_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
#include <SRV_Channel/SRV_Channel_config.h>

#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

0 comments on commit d0a7b54

Please sign in to comment.