diff --git a/libraries/RC_Channel/RC_Channel.cpp b/libraries/RC_Channel/RC_Channel.cpp index 5b8b471a22..7005da477a 100644 --- a/libraries/RC_Channel/RC_Channel.cpp +++ b/libraries/RC_Channel/RC_Channel.cpp @@ -332,7 +332,7 @@ bool RC_Channel::in_trim_dz() const /* return trues if input is within deadzone of min */ -bool RC_Channel::within_min_dz() const +bool RC_Channel::in_min_dz() const { return radio_in < radio_min + dead_zone; } diff --git a/libraries/RC_Channel/RC_Channel.h b/libraries/RC_Channel/RC_Channel.h index bec21d8c18..f06fecccbe 100644 --- a/libraries/RC_Channel/RC_Channel.h +++ b/libraries/RC_Channel/RC_Channel.h @@ -53,7 +53,7 @@ public: float norm_input_ignore_trim() const; // returns true if input is within deadzone of min - bool within_min_dz() const; + bool in_min_dz() const; uint8_t percent_input() const;