Skip to content

Commit 297ec3f

Browse files
shiv-tyagipeterbarker
authored andcommitted
AP_Scripting: use new AP_PERIPH_RC_OUT_ENABLED define
1 parent 11e42a9 commit 297ec3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/AP_Scripting/generator/description/bindings.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ singleton AP_SerialLED method set_RGB boolean uint8_t 1 16 int8_t -1 INT8_MAX ui
376376
singleton AP_SerialLED method send boolean uint8_t 1 16
377377

378378
include SRV_Channel/SRV_Channel.h
379-
singleton SRV_Channels depends (!defined(HAL_BUILD_AP_PERIPH) || defined(HAL_PERIPH_ENABLE_RC_OUT))
379+
singleton SRV_Channels depends (!defined(HAL_BUILD_AP_PERIPH) || AP_PERIPH_RC_OUT_ENABLED)
380380
singleton SRV_Channels rename SRV_Channels
381381
singleton SRV_Channels method find_channel boolean SRV_Channel::Function'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 uint8_t'Null
382382
singleton SRV_Channels method set_output_pwm void SRV_Channel::Function'enum SRV_Channel::k_none SRV_Channel::k_nr_aux_servo_functions-1 uint16_t'skip_check

0 commit comments

Comments
 (0)