diff --git a/libraries/SRV_Channel/SRV_Channel.h b/libraries/SRV_Channel/SRV_Channel.h index 61501a9304..43ab9a3f03 100644 --- a/libraries/SRV_Channel/SRV_Channel.h +++ b/libraries/SRV_Channel/SRV_Channel.h @@ -322,9 +322,6 @@ public: // set output value for a function channel as a pwm value static void set_output_pwm(SRV_Channel::Aux_servo_function_t function, uint16_t value); - // set output value for a function channel as a pwm value on the first matching channel - static void set_output_pwm_first(SRV_Channel::Aux_servo_function_t function, uint16_t value); - // set output value for a specific function channel as a pwm value static void set_output_pwm_chan(uint8_t chan, uint16_t value); diff --git a/libraries/SRV_Channel/SRV_Channel_aux.cpp b/libraries/SRV_Channel/SRV_Channel_aux.cpp index 39fde7519f..e0c2199d7d 100644 --- a/libraries/SRV_Channel/SRV_Channel_aux.cpp +++ b/libraries/SRV_Channel/SRV_Channel_aux.cpp @@ -633,17 +633,6 @@ void SRV_Channels::set_output_to_trim(SRV_Channel::Aux_servo_function_t function } } -// set output pwm to for first matching channel -void SRV_Channels::set_output_pwm_first(SRV_Channel::Aux_servo_function_t function, uint16_t pwm) -{ - for (uint8_t i=0; i