diff --git a/libraries/RC_Channel/RC_Channel.h b/libraries/RC_Channel/RC_Channel.h index 6a286b7e44..da7d5aa127 100644 --- a/libraries/RC_Channel/RC_Channel.h +++ b/libraries/RC_Channel/RC_Channel.h @@ -56,8 +56,6 @@ public: bool within_min_dz() const; uint8_t percent_input() const; - int16_t pwm_to_range() const; - int16_t pwm_to_range_dz(uint16_t dead_zone) const; static const struct AP_Param::GroupInfo var_info[]; @@ -358,6 +356,9 @@ private: int16_t pwm_to_angle() const; int16_t pwm_to_angle_dz(uint16_t dead_zone) const; + int16_t pwm_to_range() const; + int16_t pwm_to_range_dz(uint16_t dead_zone) const; + // Structure used to detect and debounce switch changes struct { int8_t debounce_position = -1;