RC_Channel: rename within_min_dz to in_min_dz for consistency

... consistency with in_trim_dz
This commit is contained in:
Peter Barker 2022-03-05 16:10:22 +11:00 committed by Andrew Tridgell
parent 515db96858
commit 30c08c1e7c
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;